Over the weekend I have migrated the data on my db to another instance with the NLS_CHARSET to be AL32UTF8.
This I have done because, a new group of users from china has decided to use RT and they send emails with chinese characters in them. The db migration went well, I am able to see chinese characters getting stored in the db.
But when RT sends an email I see some problems crop up.
- I have two scrips, one to notify admincc and one to send auto reply to requestor.
The auto replies are sent without any distortion but when it comes to the admincc email, the subject line is gibberish ie; its not chinese but some weird characters.
In the error_logs on apache I see a stack error as follows:
[Tue Mar 3 09:00:15 2009] [warning]: Use of uninitialized value in string eq at /opt/prj/rt/rt3/lib/RT/Record.pm line 1701. (/opt/prj/rt/rt3/lib/RT/Record.pm:1701)
[Tue Mar 3 09:00:22 2009] [error]: Could not convert attachment from assumed utf8 to ‘gb2312’ :Cannot decode string with wide characters at /opt/prj/rt/perl-5.8.8/lib/5.8.8/sun4-solaris-thread-multi/Encode.pm line 186.
This didnt happen when I was testing in development arena… but is happening on production.
I have upgraded the Encode module to v2.26, the same I have on dev server.
I use: RT 3.6.5 on Oracle.
Any help or suggestions or thoughts wouldl be great!!