Problems with accents (encoding problem?)

8 views
Skip to first unread message

rob

unread,
Oct 17, 2011, 1:12:49 PM10/17/11
to javabu...@googlegroups.com
Hi,

i think this problem is more related to snakeyaml but anyway i explain here:

I am using windows XP, in the yaml file that define the gui i have
something like this:

- JPanel(name=panInfo, groupTitle=testà):

the application runs on windows xp with no problem but when i run it
on ubuntu(it uses utf8 as locale) snakeyaml complains about an invalid
character and the yaml file is not parsed.

Exception in thread "AWT-EventQueue-0" unacceptable character '�'
(0xFFFD) special characters are not allowed
in "<string>", position 940

Changing the accent character to another one or editing the file yaml
file on ubuntu replacing it with the same characater but typed on
ubuntu resolve the problem.

There is some safe way to use accents in yaml file ?

Thanks for the help.
Bye

Reply all
Reply to author
Forward
0 new messages