Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in...

    Paul - I think it was yesterday - but someone else posted about a json_encode problem - turned out to be something with the hosting.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  2. #2
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in...

    Thanks Kim, but I think you mean the post about the Fatal error undefined function: json_encode(), which seems quite a different problem.

    In case it's related to the json version, the installed version is 1.2.1

  3. #3
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in...

    According to the json_encode documentation on php.net:
    This function only works with UTF-8 encoded data.
    So it seems that the problem is the latin encoding combined with the json_encode function.

    Does this mean it's required to convert the database to UTF8 when upgrading to Zen Cart 1.5.0 ? I thought I read somewhere this conversion wasn't required.

 

 

Similar Threads

  1. Replies: 9
    Last Post: 11 Dec 2015, 11:35 PM
  2. Replies: 2
    Last Post: 20 May 2013, 04:09 AM
  3. PHP Warning: json_encode() Invalid UTF-8 sequence in argument
    By m.digregorio in forum General Questions
    Replies: 1
    Last Post: 15 Oct 2012, 08:30 PM
  4. Replies: 8
    Last Post: 19 Sep 2012, 03:37 AM
  5. Replies: 5
    Last Post: 15 Jul 2009, 05:18 PM

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