Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Sep 2015
    Location
    Hong Kong
    Posts
    45
    Plugin Contributions
    0

    Default Re: zen v1.5.4 gibberish at homepage in Chinese

    Quote Originally Posted by Thannaree View Post
    How did you install it? I just did a fresh v1.54 install manually and UTF-8 is set by default in the drop down. And after installation collation is utf8_generic_ci.
    Thank you Thannaree for your great help!

    I deleted the whole test site folder and tried to install it again.

    I chose ULT8 (default) and then install it.
    Click image for larger version. 

Name:	install_1.jpg 
Views:	36 
Size:	75.8 KB 
ID:	15613

    But all collations are latin1_swedish_ci.
    Click image for larger version. 

Name:	install_2.jpg 
Views:	40 
Size:	93.0 KB 
ID:	15614


    Actually, is it workable if I keep all collations to be latin1_swedish_ci (I will have to install Chinese patch zencart)? If not, could you teach me how I can switch them to utf8_generic_ci in one time instead of revising them one by one? Thank you so much!

  2. #12
    Join Date
    Dec 2010
    Location
    Thailand
    Posts
    300
    Plugin Contributions
    2

    Default Re: zen v1.5.4 gibberish at homepage in Chinese

    Regarding locales I guess that $locales should be using: $locales = array('zh_HK', 'zh_HK.utf8', 'zh'); and that therefore you should not have to change (LC_TIME, $locales). Just in case, have you well refreshed the page after trying with that?
    $locales = array('zh_HK', 'zh_HK.utf8', 'zh');
    @setlocale(LC_TIME, $locales);
    To change collation in your database:
    Log into phpMyAdmin in your cpanel.
    Select your database from the list on the left.
    Click on "Operations" from the set of tabs at the top.
    In the Collation box, select utf8_general_ci from the dropdown menu.
    Click Go.

    Perhaps you should contact your hosting admin and ask them what locales they use.

  3. #13
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: zen v1.5.4 gibberish at homepage in Chinese

    There is also a database conversion utility to do something similar to this:
    Convert db2utf8
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #14
    Join Date
    Sep 2015
    Location
    Hong Kong
    Posts
    45
    Plugin Contributions
    0

    Default Re: zen v1.5.4 gibberish at homepage in Chinese

    Thank you Thannaree! All problems are solved.

  5. #15
    Join Date
    Sep 2015
    Location
    Hong Kong
    Posts
    45
    Plugin Contributions
    0

    Default Re: zen v1.5.4 gibberish at homepage in Chinese

    Quote Originally Posted by mc12345678 View Post
    There is also a database conversion utility to do something similar to this:
    Convert db2utf8
    This is a very powerful program! All collations changed to UTF8 in few seconds, Thank you!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 5
    Last Post: 12 Dec 2013, 02:58 PM
  2. Newsletter Sending - Gibberish instead of green tick - screenshot provided
    By PatF in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 12 Apr 2011, 05:56 PM
  3. Gibberish email with links from unknown person
    By dealbyethan.com in forum General Questions
    Replies: 5
    Last Post: 23 Mar 2009, 04:27 PM
  4. is there a pack for BOTH Traditional Chinese and Simplified Chinese
    By paulFromWales in forum Addon Language Packs
    Replies: 0
    Last Post: 11 Mar 2007, 02:57 PM
  5. Footer-gibberish
    By Tig in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 1 Aug 2006, 08:02 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR