Hi,

I found a solution, see
http://bugs.otrs.org/show_bug.cgi?id=2309

Would you please give feedback because I think that
all v2.2.3 in utf-8-mode can be affected by this bug.

Bye, Alex

Alexander Scholler schrieb:
Hi Dan,

Dan King schrieb:
Oh sorry, I added the lines in my httpd.conf file for apache. Anywhere in the file should work. I guess by default perl does not take your OS's environment variables so occasionally you have to set them in the httpd.conf file. There is a way for it to take the OS's environment variables but I am unsure how that is done.
[...]
Hey, I had a problem dealing with encoding before and I had to set a Perl Environment Variable so it knew about which encoding to use. You could try that, the code I used is below:

PerlSetEnv environment_Variable value
PerlPassEnv environment_Variable
I'll try your hint as soon as I finished my analysis.

My system runs under utf-8:
* OTRS v2.2.3: DefaultCharset = utf-8 => therefore, mail-header contains
 Content-Type: text/plain; charset="utf-8"
* MySQL-DB v4.1
* Linux: OpenSUSE 10.2 with original Apache2 and locals
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

I send a mail to customer with body containing "ä a" - the mail-source is encoded like the following, depending on SendmailEncodingForce which results in a corresponding mail-header e.g. "Content-Transfer-Encoding: 8bit" for SendmailEncodingForce = 8bit

* with base64: YSDK
  That's wrong, because here the iso-encoding of "a ä" is base64-encoded.
  Correct would be YSDDpA==
* with quoted-printable: a =E4=
That's wrong, because when decoding quoted-printable, you see that the message is iso- but not utf8-encoded
* with 8bit or 7bit: a ä which is in hex 6120C3A4
That's correct for 8bit. For 7bit, as far as I know "ä" cannot be encoded (am I right?),
  so 7bit-encoding cannot be used here.

Could you please verify this for your installation and give feedback.
If you need any detailed description of my installation (e.g. perl-version, ...?) let me know.

Bye, Alex

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=http://www.otrs.com/




_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to