[solved] Russian symbols in custom CEGUI::String

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
kornerr
Not too shy to talk
Not too shy to talk
Posts: 41
Joined: Tue Apr 11, 2006 10:07
Location: Russia, Siberia, Kemerovo
Contact:

Re: [solved] Russian symbols in custom CEGUI::String

Postby kornerr » Wed Nov 03, 2010 14:51

For hard-coded strings you should use English only. And have the strings translated into Russian at run-time by GNU gettext or similar library (I don't work with MSVC).
I tried to input manually Russian chars into an EditBox and it's displayed fine. I'm using arial.ttf from Russian Windows XP.

http://picasaweb.google.ru/117783098988 ... 4291308178

The first string is translated by gettext, the second one I entered myself.
Open Source all the way, baby ;)
Opensource Game Studio

wild_r
Just popping in
Just popping in
Posts: 18
Joined: Tue Jul 20, 2010 20:00

Re: [solved] Russian symbols in custom CEGUI::String

Postby wild_r » Wed Nov 03, 2010 16:47

kornerr wrote:For hard-coded strings you should use English only. And have the strings translated into Russian at run-time by GNU gettext or similar library (I don't work with MSVC).
I tried to input manually Russian chars into an EditBox and it's displayed fine. I'm using arial.ttf from Russian Windows XP.

http://picasaweb.google.ru/117783098988 ... 4291308178

The first string is translated by gettext, the second one I entered myself.


Thank you, usefull information for inputing russian letters.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 37 guests