Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 124426 - I18N : Use lowercase characters in unicode ascii at storing .properties file - plugin available
I18N : Use lowercase characters in unicode ascii at storing .properties file ...
Status: NEW
Product: utilities
Classification: Unclassified
Component: Properties
All All
: P2 with 1 vote (vote)
: 6.x
Assigned To: Jan Peska
: I18N
Depends on:
  Show dependency treegraph
Reported: 2007-12-25 02:41 UTC by Masaki Katakai
Modified: 2016-02-13 13:14 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2007-12-25 02:41:19 UTC
NetBeans uses  uppercase character when it stores unicode ascii into .properties file.
It's defined and hardcoded.

        private static final byte[] hexadecimalChars
                = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
However, I understand using lowercase characters is common and widely used.
JDK's native2ascii is using lowercase characters to represent unicode ascii and
some other tool (OmegaT) is using lowercase too.

Please use lowercase at generating .properties files. I noticed it's very hard to
get actual diffs when I use version control. Actual (native) characters are not updated
but I got many differences from entire file due to the lowercase -> uppercase conversion.
Comment 1 Marian Petras 2008-01-11 14:56:53 UTC
This request is in contrast with the request to keep using uppercase letters (issue #117416) I fixed in the October.

I do not know what to do with it at the moment. Let me know if you have any idea.
Comment 2 Ashizawa Kazunori 2008-01-17 02:27:17 UTC
How about adding a configuration option for lowercase/uppercase?
Comment 3 Marian Petras 2008-01-23 22:34:43 UTC
Yes, it is doable. But not for NB 6.1 as it would require a UI change. NB 6.1 is mostly a bugfix release and UI changes
are generally accepted unless they are necessary for fixing of serious issues.
Comment 4 markiewb 2013-10-26 00:18:40 UTC
In the meantime I created a simple plugin which can at least convert the \uxxXX unicode chars in an existing property file to lower-/upper-case. Not nice but it does its job.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo