Results 1 to 8 of 8

Thread: wrong character encoding in dropdown list

  1. #1
    nixsnake is offline Member
    Join Date
    Jun 2008
    Posts
    6

    Default wrong character encoding in dropdown list

    all fields i have changed in russin with out any trouble...but in dropdown list i have this москвРafter i save list, befor it all ok. can you help me? i'am from russia.

  2. #2
    jsagar's Avatar
    jsagar is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    Ahmedabad,India
    Posts
    242

    Default Re: wrong character encoding in dropdown list

    Hi,
    can you check the encoding of that language file if it is not as per the others so you have to change the encoding of that file

    Check the language file of that where the dom is created for that dropdown...

    it may help you
    Last edited by jsagar; 2008-06-24 at 04:50 AM.
    Best Regards
    ---------------------------------------
    Jaydeepsinh Sagar

  3. #3
    nixsnake is offline Member
    Join Date
    Jun 2008
    Posts
    6

    Default Re: wrong character encoding in dropdown list

    language file is ok....i changing english words to russian and it's all ok...only dropdown list is wrong. I doing it in administrator --> studio.

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: wrong character encoding in dropdown list

    I'm not sure what I did but I had the same issue in German and it went away miraculously. Rebuild the jslanguage files (or delete the directory in cache) and make sure that your /include/language/ru_ru_lang.php is encoded utf-8 without BOM.

    rgds
    rl
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien fόr SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  5. #5
    nixsnake is offline Member
    Join Date
    Jun 2008
    Posts
    6

    Angry Re: wrong character encoding in dropdown list

    big fanks for your advice, but for me it usefull (( encoding languge file in utf-8...all files in /cache directory i've deleted.....Today i notice what even translated dropdown list after editing it and save become Reseller[РСсСллСр] too ((

  6. #6
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: wrong character encoding in dropdown list

    Which Sugar version do you use? I will try to reproduce the error with your language pack.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien fόr SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  7. #7
    johnrdoe63 is offline Junior Member
    Join Date
    Jul 2008
    Posts
    1

    Default Re: wrong character encoding in dropdown list

    Yes, I have the same problem in rc 5.1.

    By pressing button Save, the curve file custom/include/language/ru_ru.lang.php is created. If in it fix fields all is displayed normally. I try in modules/Administration/Common.php:: save_custom_app_list_strings_contents to write down a line in Russian in a file. All is normal. Probably a array already corrupt before writting to the file.

    The similar problem was with a theme of the letter. It was necessary in translateCharsetMIME to insert mb_internal_encoding (' UTF-8 '); Then all has worked.

    Code:
     /**
             * translates a character set from one to another, and the into MIME-header friendly format
             */
            function translateCharsetMIME($string, $fromCharset, $toCharset='UTF-8', $encoding="B") {
                    mb_internal_encoding('UTF-8');
                    return mb_encode_mimeheader($string);
            }

  8. #8
    jaryn is offline Member
    Join Date
    Jun 2008
    Location
    CZ
    Posts
    6

    Smile Re: wrong character encoding in dropdown list

    solution is in this thread

    Jaroslav Misek

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. wrong character encoding in dropdown list
    By nixsnake in forum Translators
    Replies: 11
    Last Post: 2008-11-07, 03:05 AM
  2. Dropdown list editor doesn't change when saved
    By jmcalderond in forum General Discussion
    Replies: 2
    Last Post: 2008-04-28, 02:37 PM
  3. Replies: 8
    Last Post: 2008-04-08, 02:58 PM
  4. Replies: 0
    Last Post: 2008-04-05, 12:18 PM
  5. Related Dropdown List (conditioned)
    By nramirezf in forum Feature Requests
    Replies: 6
    Last Post: 2008-02-03, 11:01 AM

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
  •