Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2008-05-14 12:42:01 -0400
committerDarin Wright2008-05-14 12:42:01 -0400
commit8a14587c291b23ec41fc5c08a9fb8cfaf25f2912 (patch)
treeae12389803dac3ee2362fd8a22b4a2f0e6565fea /org.eclipse.debug.core
parent2c8c34cb9979399a694c3d5edb249fb7bc7f2e6d (diff)
downloadeclipse.platform.debug-8a14587c291b23ec41fc5c08a9fb8cfaf25f2912.tar.gz
eclipse.platform.debug-8a14587c291b23ec41fc5c08a9fb8cfaf25f2912.tar.xz
eclipse.platform.debug-8a14587c291b23ec41fc5c08a9fb8cfaf25f2912.zip
Bug 225688 - DBCS3.4: In expression view, DBCS characters are changed to "?" after restarting eclipse
Diffstat (limited to 'org.eclipse.debug.core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
index a7381f5d2..899a61be0 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
@@ -1159,7 +1159,7 @@ public class DebugPlugin extends Plugin {
try{
DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
parser.setErrorHandler(new DefaultHandler());
- stream = new ByteArrayInputStream(document.getBytes());
+ stream = new ByteArrayInputStream(document.getBytes("UTF8")); //$NON-NLS-1$
root = parser.parse(stream).getDocumentElement();
} catch (ParserConfigurationException e) {
abort("Unable to parse XML document.", e); //$NON-NLS-1$

Back to the top