[hg] main-silver: Even dictionary description should be in UTF-8

  • From: Jan Lahoda < >
  • To:
  • Subject: [hg] main-silver: Even dictionary description should be in UTF-8
  • Date: Fri, 29 Mar 2013 15:43:34 -0700

changeset 76c465821eee in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/76c465821eee
description:
        Even dictionary description should be in UTF-8

diffstat:

 
spellchecker/src/org/netbeans/modules/spellchecker/DictionaryProviderImpl.java
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git 
a/spellchecker/src/org/netbeans/modules/spellchecker/DictionaryProviderImpl.java
 
b/spellchecker/src/org/netbeans/modules/spellchecker/DictionaryProviderImpl.java
--- 
a/spellchecker/src/org/netbeans/modules/spellchecker/DictionaryProviderImpl.java
+++ 
b/spellchecker/src/org/netbeans/modules/spellchecker/DictionaryProviderImpl.java
@@ -187,7 +187,7 @@
             file = 
InstalledFileLocator.getDefault().locate("modules/dict/dictionary" + 
currentSuffix + ".description", cnb, false);
 
             if (file != null && 
InstalledFileLocator.getDefault().locate("modules/dict/dictionary" + 
currentSuffix + ".description_hidden", null, false) == null) {
-                BufferedReader in = new BufferedReader(new 
InputStreamReader(new FileInputStream(file)));
+                BufferedReader in = new BufferedReader(new 
InputStreamReader(new FileInputStream(file), "UTF-8"));
 
                 try {
                     String line;

[hg] main-silver: Even dictionary description should be in UTF-8

Jan Lahoda 03/29/2013

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close