This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 1106

Summary: RESOURCE_ENCODING set to Cp1250 in production builds.
Product: platform Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 1999-02-02 02:06:07 UTC
This is the Windows Eastern European character encoding, and it is being used to load various resources. (The same problem exists in pre-Gandalf versions.) Presumably you set the encoding to this so
 that you can load the _cs.properties files internally without hassle, but it is also the encoder that makes its way into the release builds. This converter is supported by the JDK and should be inclu
ded in any port, but apparently the SGI JDK does not include full I18N support (maybe?) and one person had the following message on startup on Irix (SGI port of JDK 1.1.6):

java.io.UnsupportedEncodingException
        at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:97)


        at java.io.InputStreamReader.<init>(InputStreamReader.java:82)
        at
com.netbeans.developer.util.NetbeansBundle.createResourceBundleFromURL(NetbeansBundle.java:319)

        at
com.netbeans.developer.util.NetbeansBundle.findBundle(NetbeansBundle.java:294)
        at
com.netbeans.developer.util.NetbeansBundle.getBundle(NetbeansBundle.java:258)
        at
com.netbeans.developer.util.NetbeansBundle.getBundle(NetbeansBundle.java:235)
        at
com.netbeans.developer.top.CoronaTopManager.<clinit>(CoronaTopManager.java:1321)
Comment 1 Marian Mirilovic 2002-04-12 14:16:01 UTC
closed