« Return to Thread: Problems with character encoding of text from data model

Re: Problems with character encoding of text from data model

by Timo Rantalaiho :: Rate this Message:

Reply to Author | View in Thread

On Tue, 22 Jul 2008, sstendal wrote:
> rendered with different character encoding. The characters in the markup
> shows up just right, while the exact same text hardcoded in a Label becomes
> garbage.

Are you compiling on Windows by any chance? If not, what is
your system locale when compiling?

I think that javac uses the operating system encoding if you
don't supply one as a command-line parameter. On Windows,
the default is not UTF-8 but something like cp1252 which is
pretty close to ISO-latin 1.

Best wishes,
Timo


--
Timo Rantalaiho          
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Problems with character encoding of text from data model

LightInTheBox - Buy quality products at wholesale price!