New topic: Losing non-English characters when saving text to RTF
<http://forums.realsoftware.com/viewtopic.php?t=37932> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message rebrandsoftware Post subject: Losing non-English characters when saving text to RTFPosted: Thu Mar 03, 2011 11:34 am Joined: Wed Mar 25, 2009 4:30 pm Posts: 181 Location: Alexandria, VA, USA Hi Everyone, I have a weird problem trying to save German text from a TextField into an RTF file like this: Code: tos = f.CreateTextFile tos.write eula.Text tos.close The RTF is really just a text file. There is no rich text formatting. It works fine if everything is written in English, but when I get a EULA written in German it does weird things with the non-latin characters. For example, the word "unveränderter" will become "unveränderter". Any idea why this might be happening? I can copy and paste into an RTF file and there are no issues. I can't find any way to set the text encoding for output, only input. Unfortunately I'm stuck with the RTF format because INNO Setup uses it. Thanks! -Mike Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ]
-- 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]
