Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    Hong Kong
    Posts
    111
    Plugin Contributions
    0

    Default V137 to V154 Lost Chinese Input in Admin CP after upgrading

    This other thread is related, but resolved: https://www.zen-cart.com/showthread....ding-from-v137

    That was about the output from the database. But now input issue. The Chinese product title, description boxes are blank (if edit an existing product). After inputting, it does not save at all, or saves with garbled characters.

    When copying from existing product, the Chinese content does not get copied over.

    Downloaded the Chinese language pack for 1.5.4, same issue.

    Searched up forum but don't understand most of the discussions. What are the simple but important steps to take and things to do? For a hardworking layman like me, please. Thanks!

    Jeff

  2. #2
    Join Date
    Oct 2007
    Location
    Hong Kong
    Posts
    111
    Plugin Contributions
    0

    Default Re: V137 to V154 Lost Chinese Input in Admin CP after upgrading

    Have tried many things. Still have not solved the problem. I even used the existing 1.5.4 English language pack, renamed the english.php to schinese.php, and renamed the folder to languages/schinese and amended the

    define('HTML_PARAMS','dir="ltr" lang="zh"');
    define('CHARSET', 'GB2312');

    So the Admin area, if chosen Chinese, is correctly showing the category, product descriptions, etc. But when trying to edit any category or product, it simply does not show the existing records from the database. The title and description boxes are all blank (not retrieving the existing data).

    But one can create new category and products. The newly created record is displaying correctly and can be called up for editing, and can be saved properly.

    Can all these test results point to a certain fix? Or at least point to a certain direction to investigate?

    Thank,
    Jeff

  3. #3
    Join Date
    Oct 2007
    Location
    Hong Kong
    Posts
    111
    Plugin Contributions
    0

    Default Re: V137 to V154 Lost Chinese Input in Admin CP after upgrading

    Meanwhile, more clue. The Admin -> Tools -> Define pages does not work for Chinese Admin, no matter if the file is in /html_includes/ or /html/includes/classic. It works for English Admin.

    However, when in Chinese Admin, it works for only define_page_2/3/4.php, but not all the other pages the I created, which really matter.

  4. #4
    Join Date
    Oct 2007
    Location
    Hong Kong
    Posts
    111
    Plugin Contributions
    0

    Default Re: V137 to V154 Lost Chinese Input in Admin CP after upgrading

    After more tests, I am 100% sure that problem is the "traditional Chinese characters" are somehow no longer tolerated by the Admin CP now. This applies to category, products, descriptions, define_pages editor, and I suspect every data item that is multi-lingual. If the text saved or retrieved involves one traditional Chinese character, it returns blanks. If the text is all simplified Chinese characters, it can be saved and retrieved without any problem.

    For those who don't know, it is the about 30% Traditional characters that make Tradition Chinese traditional. The other 70% characters are shared with Simplified Chinese.

    What puzzles me was that this problem did not exist before I upgraded. I used the same GB2312 encoding in the schinese.php, and was able to save traditional Chinese characters, and pull them out for editing. That's the reason my site was a "Traditional Chinese site". But now I am stuck. It would be a shame and joke if now I can only publish products using Simplified Chinese, and people will see Mixed Chinese on my site.

    Is there anyway to get around this, and make the Admin CP work normally with Traditional Chinese characters, just as before upgrading (well, I am not sure whether upgrading was to be blamed for this or not).

    I have experimented with changing GB2312 to Big5, UTF8, and changing "zh_CN" to "zh_HK", etc. and none of that worked as hoped.

  5. #5
    Join Date
    Oct 2007
    Location
    Hong Kong
    Posts
    111
    Plugin Contributions
    0

    Default Re: V137 to V154 Lost Chinese Input in Admin CP after upgrading

    In summary, I think the database encoding (converted to utf8_general_ci) is fine, and it works with the GB2312 in displaying the characters (including the Traditional Chinese characters) on the website as well as in the Admin CP. The only issue is, the Traditional characters are blocking the retrieving and saving functions in the Chinese Admin CP.

    Help please!

    Jeff

 

 

Similar Threads

  1. v154 Upgrading from v154 to v155a problem with database upgrade
    By rsrwus in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 13 May 2016, 02:28 AM
  2. v139h Need Advice on Upgrading from v139h to v154
    By sunflowertami in forum Upgrading to 1.5.x
    Replies: 29
    Last Post: 19 Oct 2015, 11:12 PM
  3. v154 Chinese Language from Database Garbled after upgrading from v137
    By haostaff in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 21 May 2015, 04:01 AM
  4. v154 Lost 1.39h Admin Access After Upgrading PHP to 5.4
    By spawnie69 in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 14 May 2015, 03:09 PM
  5. How to input Chinese yuan as currency?
    By sunzhoujian in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 28 Mar 2009, 02:30 AM

Posting Permissions

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