diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2008-11-13 18:33:03 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2008-11-13 18:33:03 +0000 |
commit | 547d2ac46ea1feb323fd945de690b8ee0ca9c5f3 (patch) | |
tree | 0a459cb877b0ffa8e5dcb879e3e06c266556a896 /BKUCommonGUI/src/main/java/at/gv/egiz/bku | |
parent | 9662ac90b6aa84bc54543d3c8670ba6c8e42bbac (diff) | |
download | mocca-547d2ac46ea1feb323fd945de690b8ee0ca9c5f3.tar.gz mocca-547d2ac46ea1feb323fd945de690b8ee0ca9c5f3.tar.bz2 mocca-547d2ac46ea1feb323fd945de690b8ee0ca9c5f3.zip |
FRAME HashDataDisplay
FRAME Help
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@167 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUCommonGUI/src/main/java/at/gv/egiz/bku')
-rw-r--r-- | BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/ViewerDialog.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/ViewerDialog.java b/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/ViewerDialog.java index cd04ad98..e643c876 100644 --- a/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/ViewerDialog.java +++ b/BKUCommonGUI/src/main/java/at/gv/egiz/bku/gui/ViewerDialog.java @@ -151,6 +151,9 @@ public class ViewerDialog extends JDialog InputStream content = hashData.getHashDataInput(); String mimeType = hashData.getMimeType(); String encoding = hashData.getEncoding(); + if (encoding == null) { + encoding = "UTF-8"; + } JPanel hashDataPanel = createViewerPanel(messages.getString(BKUGUIFacade.MESSAGE_HASHDATA), content, mimeType, encoding, helpListener); JPanel buttonPanel = createButtonPanel(saveListener, saveCommand); |