My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 227: UTF-8 Support in ResourceBundle
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Mar 2011


 
Reported by stas.agarkov, Nov 5, 2009
I found that ResourceBundle files in utf-8 encoding when reading encoded 
as iso-8859-1, so that the Cyrillic characters are displayed incorrectly. 
here is http://www.thoughtsabout.net/blog/archives/000044.html article 
"Quick and Dirty Hack for UTF-8 Support in ResourceBundle". Could you 
implement something similar in Jmesa?
Nov 5, 2009
#1 stas.agarkov
Besides, see link http://bordet.blogspot.com/2007/01/utf-8-handling-for-
resourcebundle-and.html
Nov 6, 2009
#2 stas.agarkov
or before creating the jar file convert the file with the support of the Russian 
language in latin1, so the line it looked like this: 
\u041e\u0448\u0438\u0431\u043a\u0430\u0440\u0430\u0431\u043e\u0442\u044b
\u0441\u0431\u0430\u0437\u043e\u0439\u0434\u0430\u043d\u043d\u044b\u0445
Nov 7, 2009
Project Member #3 jeff.johnston.mn@gmail.com
To be honest the best thing you could do is submit a patch. The project is fairly
easy to get up and running and I have been told that the code is not difficult to get
on top of. It is especially difficult for me to duplicate the problems as it works
for me.

Here is what I do for building the project and getting the dependencies in.  

https://code.google.com/p/jmesa/wiki/ProjectBuild
Nov 8, 2009
#4 stas.agarkov
patch in attachment
characters encoded as, for example in the file jmesaResourceBundle_de.properties on 
line 9
russian.patch
4.4 KB   View   Download
Nov 8, 2009
Project Member #5 jeff.johnston.mn@gmail.com
This is great! I will apply the patch first thing tomorrow.
Nov 9, 2009
Project Member #6 jeff.johnston.mn@gmail.com
I applied the patch...do you want me to do a build for you? If so send me an email at
jeff.johnston.mn@gmail.com.
Mar 10, 2011
Project Member #7 jeff.johnston.mn@gmail.com
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting