Results 1 to 10 of 26

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    359
    Plugin Contributions
    0

    Default Re: Language Display Problems...

    Have been doing further testing to try and get this fixed. Here is what I have discovered...

    In the backend, I have Japanese titles written for book categories. If I click on the green edit button for one of the category names, I see this string of Unicode characters:

    & # 1 2 3 8 1 ; & # 1 2 3 9 8 ; & # 1 2 4 1 1 ; & # 1 2 3 6 3 ; (I had to put spaces in between the characters so they wouldn't display as Japanese in this message.)

    This string of unicode displays correctly in both the front and backend correctly like this:

    そのほか

    If I go back and edit the category and replace:

    & # 1 2 3 8 1 ; & # 1 2 3 9 8 ; & # 1 2 4 1 1 ; & # 1 2 3 6 3 ;
    with
    そのほか

    then save, in the backend it appears correctly (そのほか) but in the front end it appears as: ???? (Four question marks!)

    So this tells me the backend can handle both formats of the characters, but the front end can only display the Japanese correctly if I use the Unicode format: & # 1 2 3 8 1 ; & # 1 2 3 9 8 ; & # 1 2 4 1 1 ; & # 1 2 3 6 3 ;

    As the text displays correctly in the backend, there must be some setting that I have missed that is not allowing the front end to display things properly. How do I change the front end from Unicode???

    Or is there something else I am missing? Any help or advice would be greatly appreciated!

  2. #2
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Language Display Problems...

    Quote Originally Posted by Peace Freak View Post
    ...

    If I go back and edit the category and replace ... with そのほか then save, in the backend it appears correctly (そのほか) but in the front end it appears as: ???? (Four question marks!)

    ...

    As the text displays correctly in the backend, there must be some setting that I have missed that is not allowing the front end to display things properly.
    What do you for CHARSET and local (LC_) settings in "/includes/languages/japanese.php" and "/admin/includes/languages/japanese.php"? And do they match? Do you have a template override of the language file in "/includes/languages/my_template_name/japanese.php"? If so, do the settings match the ones from the admin language files? Are you using copy / paste or typing in the characters directly to the admin? Are you using CKeditor? Does your website template include the meta tag to indicate content is utf8?
    Last edited by lhungil; 24 Apr 2013 at 01:46 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #3
    Join Date
    Apr 2006
    Posts
    359
    Plugin Contributions
    0

    Default Re: Language Display Problems...

    Thanks for getting back to me on this.

    I have checked the three php files you mentioned and they "appear" to be correctly set to UTF-8. Perhaps I should send you a zip file of them as I may be overlooking something.

    I am using copy/paste and also typing in the characters. The same result...

    I am not using Ckeditor. Plan to install it but have not yet.

    Regarding the website template having a meta tag indicating content to be utf8, I am not sure what file I should be looking at to check that. Could you let me know?

    Thanks!

 

 

Similar Threads

  1. v151 Greek Language Display Problems
    By George Zacharopoulos in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Jun 2014, 02:25 PM
  2. EZ problems multi language
    By jagerstore in forum General Questions
    Replies: 1
    Last Post: 17 Jun 2009, 08:40 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