ANOTHER INBOUND EMAIL ENCODING PROBLEM (CZECH LANGUAGEPACK, UTF-8)
OS: CentOS 2.6.9-22.0.2.EL
Sugar: 4.2.1
Webserver: Apache/2.0.52 (CentOS)
PHP Version 4.3.9
MySQL: 4.1.20
PHP config: (mbstring) from php_info();
Multibyte Support enabled
Japanese support enabled
Simplified chinese support enabled
Traditional chinese support enabled
Korean support enabled
Russian support enabled
Multibyte (japanese) regex support enabled
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding UTF-8 UTF-8
mbstring.language neutral neutral
mbstring.substitute_character no value no value
PHP.INI:
....omitted...
[mbstring]
; language for internal character representation.
;mbstring.language = Japanese
; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
mbstring.internal_encoding = UTF-8
...ommited...
; PHP's built-in default is text/html
default_mimetype = "text/html"
default_charset = "UTF-8"
MySQL variables:
character_set_client | utf8 |
character_set_connection | utf8 |
character_set_database | utf8 |
character_set_results | utf8 |
character_set_server | utf8 |
character_set_system | utf8
Sorry about next email charset problem thread, but I've read many of them and nothing helped me...
I downloaded CZECH language pack, using UTF-8.
I changed:
config.php - default_charset to UTF-8
class.phpmailer.php - var $CharSet to UTF-8
en_us.lang.php 'LBL_CHARSET' to UTF-8
Everything works fine, new added contacts are in czech language etc...
exept inbound emails => they are displayed in wrong charset with questionmarks or no characters in subject and body.
Are inbound email generated from some javascript, can't be problem there?
Please help me, I want to use this great tool with all features it provides. ThanX
Pavel


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks