Skip to content
This repository was archived by the owner on May 11, 2020. It is now read-only.

Please don't assume client application encoding #10

@cmanley

Description

@cmanley

The current version assumes the method input and output is UTF-8. That is not necessarily the case (it could be cp1252 for example). It's best to detect application encoding using mb_internal_encoding() and then transcode input and output, especially before/after calls to json_ecode() and json_decode().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions