[rt-users] Problems with character encoding on second post (first OK) (Intern)

ronny.pettersen at telenor.com ronny.pettersen at telenor.com
Mon Oct 27 06:00:39 EST 2003


RT    : 3.0.6 FastCGI-version
Apache: 2.0.40
Linux : RedHat 9

I have a kindof strange problem occuring when I'm posting a message containing 
the norwegian special characters "æøå".
After the webserver is restartet, the first post always give correct results.
The second post always encodes the characters wrong. "Test æøå" becomes "test æøå".

Does anyone know what might cause this? See below for the RT debug-log.
Configuration issue, some perl module issue?
("make testdeps" reports ok on all perl modules)


Regards,
Ronny Pettersen


# from debug rt.log
# First post with international characters gives correct encoding (message "test æøå" -> "test æøå"):
[Mon Oct 27 09:35:02 2003] [info]: <rt-3.0.6-3-68.9.95786969530812 at test.com> #3/68 - Scrip 7  (/usr/local/rt3/lib/RT/Action/SendEmail.pm:92)
[Mon Oct 27 09:35:02 2003] [debug]: Converting 'utf-8' to 'iso-8859-1' for text/plain - =?ISO-8859-1?B?W1JULUFOICMzXSBbQ29tbWVudF0gVGVzdCDm+OU=?=
 (/usr/local/rt3/lib/RT/I18N.pm:196)
[Mon Oct 27 09:35:02 2003] [info]: <rt-3.0.6-3-68.9.95786969530812 at test.com>
 No recipients found. Not sending.
 (/usr/local/rt3/lib/RT/Action/SendEmail.pm:257)
[Mon Oct 27 09:35:02 2003] [info]: <rt-3.0.6-3-68.8.33597934411323 at test.com> #3/68 - Scrip 8  (/usr/local/rt3/lib/RT/Action/SendEmail.pm:92)
[Mon Oct 27 09:35:02 2003] [debug]: Converting 'utf-8' to 'iso-8859-1' for text/plain - =?ISO-8859-1?B?W1JULUFOICMzXSBUZXN0IOb45Q==?=
 (/usr/local/rt3/lib/RT/I18N.pm:196)
[Mon Oct 27 09:35:03 2003] [info]: <rt-3.0.6-3-68.8.33597934411323 at test.com>
 No recipients found. Not sending.
 (/usr/local/rt3/lib/RT/Action/SendEmail.pm:257)

# Second posting with international characters gives wrong encoding (message "test æøå" -> "test æøå")
[Mon Oct 27 09:35:20 2003] [debug]: Guessed encoding: iso-8859-1 (/usr/local/rt3/lib/RT/I18N.pm:351)
[Mon Oct 27 09:35:21 2003] [debug]: Converting 'iso-8859-1' to 'utf-8' for text/plain -  (/usr/local/rt3/lib/RT/I18N.pm:196)
[Mon Oct 27 09:35:21 2003] [info]: <rt-3.0.6-3-69.5.6143501569494 at test.com> #3/69 - Scrip 7  (/usr/local/rt3/lib/RT/Action/SendEmail.pm:92)
[Mon Oct 27 09:35:21 2003] [debug]: Converting 'utf-8' to 'iso-8859-1' for text/plain - =?ISO-8859-1?B?W1JULUFOICMzXSBbQ29tbWVudF0gVGVzdCDm+OU=?=
 (/usr/local/rt3/lib/RT/I18N.pm:196)
[Mon Oct 27 09:35:21 2003] [info]: <rt-3.0.6-3-69.5.6143501569494 at test.com>
 No recipients found. Not sending.
 (/usr/local/rt3/lib/RT/Action/SendEmail.pm:257)
[Mon Oct 27 09:35:21 2003] [info]: <rt-3.0.6-3-69.14.9025718099913 at test.com> #3/69 - Scrip 8  (/usr/local/rt3/lib/RT/Action/SendEmail.pm:92)
[Mon Oct 27 09:35:21 2003] [debug]: Converting 'utf-8' to 'iso-8859-1' for text/plain - =?ISO-8859-1?B?W1JULUFOICMzXSBUZXN0IOb45Q==?=
 (/usr/local/rt3/lib/RT/I18N.pm:196)
[Mon Oct 27 09:35:21 2003] [info]: <rt-3.0.6-3-69.14.9025718099913 at test.com>
 No recipients found. Not sending.
 (/usr/local/rt3/lib/RT/Action/SendEmail.pm:257)


# Post without international characters (message "Tesing without int chars")
# Post number 1 and 2 after restart gives the same behaviour
[Mon Oct 27 10:19:44 2003] [debug]: Guessed encoding: ascii (/usr/local/rt3/lib/RT/I18N.pm:351)
[Mon Oct 27 10:19:44 2003] [debug]: Converting 'ascii' to 'utf-8' for text/plain -  (/usr/local/rt3/lib/RT/I18N.pm:196)
[Mon Oct 27 10:19:45 2003] [info]: <rt-3.0.6-3-75.19.8192251337203 at test.com> #3/75 - Scrip 7  (/usr/local/rt3/lib/RT/Action/SendEmail.pm:92)
[Mon Oct 27 10:19:45 2003] [debug]: Converting 'utf-8' to 'iso-8859-1' for text/plain - =?ISO-8859-1?B?W1JULUFOICMzXSBbQ29tbWVudF0gVGVzdCDm+OU=?=
 (/usr/local/rt3/lib/RT/I18N.pm:196)
[Mon Oct 27 10:19:45 2003] [info]: <rt-3.0.6-3-75.19.8192251337203 at test.com>
 No recipients found. Not sending.
 (/usr/local/rt3/lib/RT/Action/SendEmail.pm:257)
[Mon Oct 27 10:19:45 2003] [info]: <rt-3.0.6-3-75.3.56622094384051 at test.com> #3/75 - Scrip 8  (/usr/local/rt3/lib/RT/Action/SendEmail.pm:92)
[Mon Oct 27 10:19:45 2003] [debug]: Converting 'utf-8' to 'iso-8859-1' for text/plain - =?ISO-8859-1?B?W1JULUFOICMzXSBUZXN0IOb45Q==?=
 (/usr/local/rt3/lib/RT/I18N.pm:196)
[Mon Oct 27 10:19:45 2003] [info]: <rt-3.0.6-3-75.3.56622094384051 at test.com>
 No recipients found. Not sending.
 (/usr/local/rt3/lib/RT/Action/SendEmail.pm:257)


# Short Perl-module list, just in case it would be of any interest:
HTML::Mason - 1.23
HTML::Parser - 3.31
FCGI - 0.67
DBIx::SearchBuilder - 0.92
Storable - 2.08
Locale::Maketext - 1.06
Locale::Maketext::Lexicon - 0.32
mod_perl - 1.9907



More information about the rt-users mailing list