On Mon, Feb 23, 2009 at 2:14 PM, Jesse Vincent <[email protected]> wrote: > > > > On Mon, Feb 23, 2009 at 11:14:00AM -0800, Tom Lahti wrote: >> >> 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. >> > Todd and I got further into it. We're using Encode::Guess, which should > handle this. Todd had some promising places to dig for a bug. > >
I'll be sending a test as soon as I finish converting this bugzilla instance to a new RT instance. ;) >> -- >> -- ============================ >> 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: [email protected] > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [email protected] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
