Fwd: Fwd: utf-8 or unicode on Swing jlabel

Hi…

I try to print a utf-8 string into a jlabel but it’s not readeable…
but when i put to console all are ok… any idea of a solution …

Hi.

After a hard study of the problem i think that the better solution is
convert from UTF-8 to Java Unicode escape sequence…

It’s look like…

“\xC3\xB1” --conversion–> “\u00F1”

…and then past it to the Jlabel…any Jruby example for this out
there…???

The idea is to convert any utf-8 char to it Java Unicode Escape value
for multilingual support…

I’m migrating a Open Source GUI from Shoes to Jruby and Swing…

Thanks…

-------- Original Message --------
Subject: Fwd: Fwd: utf-8 or unicode on Swing jlabel
Date: Sun, 15 Jul 2012 04:49:57 +0200
From: Manuel R. Caro [email protected]
To: [email protected]

Hi…

I try to print a utf-8 string into a jlabel but it’s not readeable…
but when i put to console all are ok… any idea of a solution …