New topic: 

replaceAll with unicode not working

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        Bill Mounce          Post subject: replaceAll with unicode not 
workingPosted: Mon Jan 10, 2011 10:32 pm                         
Joined: Mon Oct 02, 2006 7:19 pm
Posts: 14                I run this line as part of a method: tNewForm = 
replaceAllB( tNewForm, "oJ", "ὁ" )
  
When I run this line and put the value of tNewForm in an edit field, all is 
good. It comes out as a ὁ (Greek unicode table)

But when I print it to a text file, it is jibberish.

When watching it in the debugger, the tNewForm value is also jibberish

How do I keep it as ὁ? Thanks. I am a bit desperate.

Bill   
                             Top                npalardy          Post subject: 
Re: replaceAll with unicode not workingPosted: Mon Jan 10, 2011 11:59 pm        
                 
Joined: Sat Dec 24, 2005 8:18 pm
Posts: 6371
Location: Canada, Alberta, Near Red Deer                Try using ReplaceAll - 
not replaceAllB
ReplaceAllB replaces BYTES - not characters and I suspect that's the trouble    
  
_________________
My web site Great White Software
RBLibrary.com REALbasic learning  
                             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