Page 1 of 1

special character + loading layouts

Posted: Fri Oct 21, 2005 12:49
by Zoldan
Hi,

i tried to load a XML layout with some german special characters in it, but they were just cut out of the text.
If I set the text of a statictext with the ->settext command it works fine, but it doesnt load the chars from a file ...

can anyone help me?

Re: special character + loading layouts

Posted: Fri Oct 21, 2005 12:55
by lindquist
are you saving your XML in UTF8 format?

Re: special character + loading layouts

Posted: Fri Oct 21, 2005 13:08
by Zoldan
i'm not using any xml editor, but plain text editor ... so there are ä,ö,ü,etc. in the file if u mean that ...

edit: i just tried to use celayouteditor, i completly crashes if i enter a text containing speciel chars :(

Re: special character + loading layouts

Posted: Fri Oct 21, 2005 13:33
by lindquist
You must save the file in UTF8 encoding.
Not ascii. Not iso-8859-1.. UTF8!

Re: special character + loading layouts

Posted: Fri Oct 21, 2005 13:43
by Zoldan
ok that works .... thx!