unidecode broken on Intel Macs?

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Aug 1 09:16:35 EDT 2007


Klaus,

The bytes in a word in a Unicode document created on a big-endian  
processor, such as the Macintosh, are arranged in an order opposite  
to that of the bytes in a word in a document created on an Intel  
processor. This means that you may have to revert all bytes in your  
unicode stream. For example 0xe0a1 becomes 0xa1e0. You need to  
experiment a little with this, because there is a bug that may cause  
a need for conversion to 0x1a0e.

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http;//www.salery.com

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com


Op 1-aug-2007, om 14:54 heeft Klaus Major het volgende geschreven:

> Dag Mark,
>
>> Hi Klaus,
>>
>> Unicode is not broken on Intel Macs (at least not more than usual).
>
> :-)
>
>> It just works the same way as on Intel PC's. Mind the endian.
>
> Ah, I see...
> ??? :-)
>
> Maybe you could get a TINY BIT more specific?
>
>> Best regards,
>>
>> Mark Schonewille
>>
>> --
>>
>> Economy-x-Talk Consulting and Software Engineering
>> http://economy-x-talk.com
>> http;//www.salery.com
>
> Regards
>
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de




More information about the use-livecode mailing list