On Mar 30, 2008, at 4:22 PM, Joe Huber wrote:
>> On Leopard Apple forced all strings in AppleScripts to UTF16
>
> Yes, I discovered that too. And it brought to light two areas
> (listboxes and DrawString) where RB doesn't handle UTF16 text
> correctly and displays garbled text instead. The workaround is to
> convert strings to UTF8 before inserting into a listbox or using
> DrawString.
>
> UTF16 strings display incorrectly in Listbox and DrawString
> http://www.realsoftware.com/feedback/viewreport.php?reportid=avxgeexz
>
>
Ah, very interesting! I've added myself to the report.
And here is another example of the problem with text encoding. All we
ever hear is that we don't have to worry about it, and then oh, but
there is a growing list of places you do have to worry about it, but
generally you don't have to worry about it, except when you do...
An that makes debugging it a pain in the neck because since I wasn't
worried about it, I didn't actually know anything about it.
But dont worry, I'm not worried ;)
James
>
James Sentman http://sentman.com
http://MacHomeAutomation.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|