As soon as the XWork move is done :)

Musachy Barroso schrieb:
Rainer and Rene were planning some big 18n refactoring. Any news on that guys?

musachy

On Wed, Oct 14, 2009 at 3:07 AM, Alex Siman <aleksandr.si...@gmail.com> wrote:
What is the problem with that GPL? Maybe we can ask the j18n author to add
Apache kind license?

BTW I used to think that "open source is really open". I am bored w/ all
those licenses. IMHO it's like native2ascii to me.

Philip Luppens wrote:
On Wed, Oct 14, 2009 at 11:09 AM, Alex Siman <aleksandr.si...@gmail.com>
wrote:
I hacked class [com.opensymphony.xwork2.util.LocalizedTextUtil] and now
it
uses [http://sourceforge.net/projects/j18n/] to load resource bundles.
J18n
allows *.properties files to be in UTF-8 encoding and contain not escaped
UTF-8 characters. This is very usable in comparison with Java's
native2ascii. native2ascii is a very big mess!
I fully agree - the native2ascii approach is a mess and even with
IntelliJ's transparent support, I still find myself encountering
issues. I never understood why the XML properties are read by default
in UTF-8 and the line based properties use latin-1. But I digress ...

All that needs to be replaced in LocalizedTextUtils is:

       ResourceBundle.getBundle -> J18n.getBundle

I know that there were some plans on UTF-8 in XWork, but I do not how the
current status of them.
Contacting issues aside, the problem here is the GPL license.

Cheers,

Phil

--
View this message in context:
http://www.nabble.com/XWork%3A-Real-UTF-8-in-*.properties-tp25887706p25887706.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org




--
"We cannot change the cards we are dealt, just how we play the hand."
- Randy Pausch

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



--
View this message in context: 
http://www.nabble.com/XWork%3A-Real-UTF-8-in-*.properties-tp25887706p25888384.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to