Skip to content

Output to ASCII #2

@ExpHP

Description

@ExpHP

Currently this can output things like

{
    "β": 1
}

where it will use UTF-8 encoding on Linux and... whatever Windows feels like using on Windows. However, the encoding is not part of the JSON spec (it is defined on code points; not even scalar values!), and so I've had issues with other JSON parsers in the past when using files like this. This should ideally be escaped to "\u03b2".

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