New topic: 

Russian Cyrillic Text on the Mac doesn't work

<http://forums.realsoftware.com/viewtopic.php?t=32242>

       Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic         Author  
Message       denise           Post subject: Russian Cyrillic Text on the Mac 
doesn't workPosted: Fri Jan 29, 2010 10:20 am                        
Joined: Thu Jun 29, 2006 5:55 am
Posts: 32              Hi.  I have created a custom editfield from a canvas 
which renders text to it using SystemDefault encoding.  On Windows, if the 
system region is set to Russia, the text is correctly displayed.. I assume as 
Windows1251 encoding.  But on the Mac all I get is ???? characters.  I have 
tried using fonts with CY and double-checking the system region settings but it 
makes no difference.  When I debug and look at the encoding of the text stored 
in memory on the Mac it's MacRoman but should be.. or rather I expected it to 
be x-mac-cyrillic.

Why is the SystemDefault encoding remaining MacRoman?  WHy does the same code 
work on Windows?

Is there a solution to this rather than completely recoding my app to convert 
all text to UTF-8 and rendering as UTF-8?

Thanks.   
                            Top               mjh           Post subject: Re: 
Russian Cyrillic Text on the Mac doesn't workPosted: Fri Jan 29, 2010 10:36 am  
                      
Joined: Sun Feb 19, 2006 3:10 pm
Posts: 597
Location: Hamburg, Germany              If you tell RB what encoding the text 
is in, it will display correctly. So the first step to take would be to 
determine the text’s encoding (which it seems you are not sure about).     
_________________
Michael J. Hußmann 
http://digicam-experts.de  
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to