[rt-users] RT 3.8 mangles html attachment
Tom Lahti
toml at bitstatement.net
Mon Feb 23 14:14:00 EST 2009
>> 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/
-- ============================
More information about the rt-users
mailing list