From: Joshua Hadley <[EMAIL PROTECTED]>
Date: Tue, 14 Feb 2006 13:18:26 -0800

Joseph J. Strout wrote:

Wrong-endian UTF-16 text is not supported, period.

Call it "opposite" endian and we have a deal :-)

It is not "wrong" to have UTF-16 BE strings on a Little Endian
machine, nor vice-versa, nor is it as unusual as one might think.
Sure, it's simple enough to write workaround code, but it should be
built-in (at least marginally correct BOM support). For the
inevitable question/suggestion that follows, the answer is "yes I
have" about 3 years ago, report ID is 'cojoobka'. At least it's been
evaluated :-)

My ElfData plugin does byte order swapping, and BOM detection, for Mac, PC and Linux.

If you don't need the speed, a memoryblock always does the trick, and is easy enough to byte-swap with, although BOM detection is a little more complex.

--
http://elfdata.com/plugin/



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to