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?
special character + loading layouts
Moderators: CEGUI MVP, CEGUI Team
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: special character + loading layouts
are you saving your XML in UTF8 format?
Re: special character + loading layouts
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
edit: i just tried to use celayouteditor, i completly crashes if i enter a text containing speciel chars
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: special character + loading layouts
You must save the file in UTF8 encoding.
Not ascii. Not iso-8859-1.. UTF8!
Not ascii. Not iso-8859-1.. UTF8!
Re: special character + loading layouts
ok that works .... thx!
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 7 guests