Skip to content

Problem with UTF8 chars and JSON_encode #99

@Antoniodelaiglesia

Description

@Antoniodelaiglesia

Hi, I have been experiencing some problems with certain posts on my website when using the API. Specifically, the problem arises in the api/v1/API_base.php file, line 94, where the json_encode method raises ["Invalid UTF-8 sequence in argument"]

My MySQL database is in UTF8, and always has been:

default-character-set=utf8
default-collation=utf8_unicode_ci
character-set-server=utf8
collation-server=utf8_unicode_ci

How I can fix this?
thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions