Re: [osg-users] Unicode text with osg

2011-05-26 Thread Eric Sokolowsky
Farshid Lashkari wrote: Hi Eric On Thu, May 26, 2011 at 7:07 AM, Eric Sokolowsky > wrote: Is it possible to use international text (probably unicode) with osgText? I just get garbled characters when I use my application which uses osgText for the text. Wh

Re: [osg-users] Unicode text with osg

2011-05-26 Thread Sergey Polischuk
Hi, Eric I used osgText with both wstrings and normal std::strings (with utf8) in both linux and windows. You may need to set right locale with std::setlocale to use strings with utf8 text. On windows with msvs you can have troubles with text in code like std::string s = "smth", it depends on e

Re: [osg-users] Unicode text with osg

2011-05-26 Thread Farshid Lashkari
Hi Eric On Thu, May 26, 2011 at 7:07 AM, Eric Sokolowsky wrote: > > Is it possible to use international text (probably unicode) with osgText? I > just get garbled characters when I use my application which uses osgText for > the text. When using vi or other text editors I can see the internationa

[osg-users] Unicode text with osg

2011-05-26 Thread Eric Sokolowsky
Hello OSG users, Is it possible to use international text (probably unicode) with osgText? I just get garbled characters when I use my application which uses osgText for the text. When using vi or other text editors I can see the international characters normally. I am using OSG 2.8.3 primaril