czech letters in labels/buttons

Discuss GUI programming with the RapaGUI plugin here
Post Reply
pecaN
Posts: 124
Joined: Thu Jun 10, 2010 4:15 pm

czech letters in labels/buttons

Post by pecaN »

Hi all,

I've just started mesing with RapaGUI a bit so I may have overlooked it in the docs but I need help with this very important issue. Is there a possibility to heve Czech (or other european languages' special characters supported by Unicode) in labels and butons texts?..

when i type e.g. this : <label>Add</label> then it's ok but when I use <label>Přidat</label> which is Czech translation of "Add" and contains "ř" which is Czech common character RapaGUI shows error message... ?

thanx pecaN
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: czech letters in labels/buttons

Post by airsoftsoftwair »

Yes, this is possible. You must save your XML in UTF-8 encoding and specify this encoding in the header like so:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
Then Czech letters should appear correctly.
pecaN
Posts: 124
Joined: Thu Jun 10, 2010 4:15 pm

Re: czech letters in labels/buttons

Post by pecaN »

yep thanks!!!

Now it works great, I had the utf-8 encoding declared properly but there was a problem with saving my xml in utf-8 format :-) pecaN
Post Reply