Results 1 to 4 of 4

Thread: Inbound email UTF-8 character encoding problem

  1. #1
    bbservis is offline Junior Member
    Join Date
    Jul 2006
    Posts
    2

    Default Inbound email UTF-8 character encoding problem

    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

  2. #2
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Inbound email UTF-8 character encoding problem

    The current SugarCRM does not yet have decoding/encoding capability in inbound/outbound email. The next 4.5 release will have it.
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  3. #3
    bbservis is offline Junior Member
    Join Date
    Jul 2006
    Posts
    2

    Default Re: Inbound email UTF-8 character encoding problem

    My apologize, but I don't understand your reply ... or my problem description was wrong and hard to understand.

    I mean, that I have same problems like other guys with Japanese languge pack --> questionmarks instead of czech i18n. In outbound email, everything works fine for me, czech words are displaying correctly. Problem is only with inbound email.

  4. #4
    sugarchris's Avatar
    sugarchris is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    San Francisco, CA
    Posts
    861

    Default Re: Inbound email UTF-8 character encoding problem

    InboundEmail will be broken for you until 4.5. Sorry about that.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •