>> On Thu 19.Feb'09 at 11:33:25 -0500, Todd Chapman wrote:
>>>   Correction, the weird question mark characters are between every  
>>> character
>>>   in the original document. Like so:
>>>
>>>   <�h�e�a�d�>� � �<�m�e�t�a�
>> Fascinating. Does it do this with all html attachments?
> 
> That looks suspiciously like full 16-bit Unicode to me.

It was pointed out earlier in the thread that the encoding was UTF-16LE.  I
was surprised when no one said "the conversion library we use doesn't
support automatic detection of/conversion from 16-bit encodings", but I
don't know what is being used in RT.

With the iconv library, if you want to convert from UTF-16, you have to
specify it as the "from" code.  As far as I know.  But it does work if you do.

-- 
-- ============================
   Tom Lahti
   BIT Statement LLC

   (425)251-0833 x 117
   http://www.bitstatement.net/
-- ============================
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to