[rt-users] UTF-8 problems
Nick Filimonov
nick at freenet.ru
Wed Jan 14 03:54:14 EST 2004
Gentlemen,
We have a problem here with RT 3.0.7_01 with handling of
localized messages that come into the system. The problem is that some
messages are being converted to utf-8 TWICE, while being injected into
the database. As a result, broken utf-8 encoding appears.
I've tried to debug the code of I18N myself, and I can see
only one (correct) transformation of single-byte koi8-r messages into
utf-8, and resulting utf-8 that I can see saved in the log is correct.
Then, no further calls of I18N->SetMIMEEntityToEncoding are visible in
the log, but text in the database appears to be double-encoded into
utf-8.
What's wrong with this and where should I look for? I only
see other calls to Encode::from_to within SendEmail and
AttachmentOverlay, but the latter is quite complex to understand what
it is being called for and when.
Any help would be appreciated.
NF
More information about the rt-users
mailing list