JDK-4221013 : RFE: Unicode property files for PropertyResourceBundles
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.2.0
  • Priority: P5
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1999-03-17
  • Updated: 2000-08-10
  • Resolved: 2000-08-10
Related Reports
Relates :  
Description

Name: gsC80088			Date: 03/16/99


when internationalizing applications, it is
suggested to use PropertyResourceBundles
in the tutorial, but after realizing that
property bundles wouldn't load properly with
languages other than english, i submitted a bug
report (4093632).  after months of waiting, i 
noticed that the bug was finally looked at and 
the result??...

This is not a bug: xxx.properties files must be 
encoded in ASCII.
Use the "\uXXXX" notation for non-ASCII Unicode 
characters.

now, this isn't a very pleasant way to internationalize
applications, now is it??...
after translating labels, etc. into a foreign language
(often through a 3rd party), we now have to 
take that translated file (which will more than
likely be in unicode) and convert it to this
"\uXXXX" notation??


PLEASE ALLOW THE USE OF UNICODE PROPERTY FILES!!!
(Review ID: 25397) 
======================================================================

Comments
EVALUATION This would require perhaps UTF-8 encoding of property files, but would then break many of the existing property files out there. Still, this is a reasonable request. Unfortunately, we have to worry about backward compatibility at this point.
11-06-2004

WORK AROUND Name: gsC80088 Date: 03/16/99 i suppose i could write a little program to convert these unicode files into this "\uXXXX" format, but that makes the editing of the labels afterwards an extra hassle. ====================================================================== john.oconner@Eng 2000-02-18 The native2ascii tool already does this conversion, so another tool is unnecessary.
18-02-2000