Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: Mail Encoding

  1. #21
    Webguardian is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    26

    Default Re: Mail Encoding

    No I dont have that dir. I only show gd.ini imap.ini ldap.ini mysql.ini pgsql.ini, in the /etc/php.d
    Should I make it?

    Thanks!

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

    Default Re: Mail Encoding

    /etc/php.d is the correct name. Please make a file named mbstring.ini and put the line.

  3. #23
    Webguardian is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    26

    Default Re: Mail Encoding

    Okay Iíve added the file mbstring.ini file to the /etc/phpd directory with the one line extension=mbstring.so
    I restarted apache then sent an email with some Japanese text to the email account used in SugarCRM and Iím sill not able to see the Japanese. I can send from SugarCRM in Japanese and see it fine on the other end. Just not to SugarCRM. Attached is a screen shot.

    If you dont think there is anything left for me to try, I may just try and upgrade of PHP. Thanks for everything!
    Attached Images Attached Images  

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

    Default Re: Mail Encoding

    Ed,
    Always make sure your phpinfo() shows the mbstring section which means the mbstring functions are enabled.

    If the mbstring section is not listed, it is likely the php-mbstring module is not installed in your linux OS. Please find the correct distribution here and install it.
    Attached Images Attached Images  

  5. #25
    Webguardian is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    26

    Default Re: Mail Encoding

    Okay now the mbstring function is enabled and I see it showing the phpinfo(). It seems that If I force my local outlook to send in plain text UTF8 I can read that incoming email in SugarCRM. However any other normal test from 5 different Japanese computer systems could not be read. I'm not sure how to read the headers through SugarCRM but the one that is CC'd to my local computer shows the character set to be ISO-2022-JP. And it seems I cant read the subject or body of those emails.
    Last edited by Webguardian; 2006-07-05 at 12:59 AM.

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

    Default Re: Mail Encoding

    Can you input Japanese into your SugarCRM like a lead name, cantact name, etc., and see those Japanese characters correctly in SugarCRM?

    How is your MySQL database created? Did you let SugarCRM create it, or did you manually created it?

    What is a default character set of MySQL?

    (If you can send my.cnf under /etc to me, it would be helpful.)

    Can I see your phpinfo() too?

  7. #27
    Webguardian is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    26

    Default Re: Mail Encoding

    1. Can you input Japanese into your SugarCRM
    Yes. I was able to type in Kanji into the contact name fields and it saved and I can see it.

    2. How is your MySQL database created?
    I let SugarCRM set it up during the installation process.

    3. What is a default character set of MySQL?


    4. Here is the contents of my my.cnf file
    [mysqld]
    datadir=/var/lib/mysql
    socket=/var/lib/mysql/mysql.sock
    # Default to using old password format for compatibility with mysql 3.x
    # clients (those using the mysqlclient10 compatibility package).
    old_passwords=1

    [mysql.server]
    user=mysql
    basedir=/var/lib

    [mysqld_safe]
    err-log=/var/log/mysqld.log
    pid-file=/var/run/mysqld/mysqld.pid


    5. Here is my PHP Information https://64.34.217.9:8443/sitepreview...jp/phptest.php

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

    Default Re: Mail Encoding

    Ed,

    Your system seems to be perfectly ready for Japanese characters. I pulled out old PHP 4.3.9 and setup the same stack as yours, tried importing emails in SugarCRM, and have not had any problem. The Japanese 4.2.0a should not have any problem in handling iso-2022-jp, euc, utf-8, or others.

    Have you correctly updated your 4.2.0a with our Japanese patch? (It's different from Japanese Language pack.)

  9. #29
    Webguardian is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    26

    Default Re: Mail Encoding

    No I have not yet. I tried to a few days ago and I was getting lots of errors. However I will try again. Thanks.

    Ed

  10. #30
    Webguardian is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    26

    Default Re: Mail Encoding

    Uchida-san,

    Thank you very much for you help. It was tough being new to SugarCRM and them having to deal with Japanese language issues made it more difficult for me. You've been a great help. Please check your PM when you get a chance.

    Kind Regards,

    Ed

Page 3 of 4 FirstFirst 1234 LastLast

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
  •