8000 Text Encoding Shenanigans · Issue #154 · ReMinecraftPE/mcpe · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Text Encoding Shenanigans #154
Open
Open
@TheBrokenRail

Description

@TheBrokenRail

Internally, (Re)MCPE encodes text as a slight variation of CP-437. This is how it renders special symbols/emojis. (See the font atlas for details.)

Right now, ReMCPE ignores this, limiting all input to pure ASCII.

However, this doesn't account for external messages (like chat) that might contain non-ASCII characters. It's also just non-ideal in general.

Ultimately, all inputs (like text events) should be converted from Unicode to CP-437. And all ouputs (like log messages) should be converted from CP-437 to Unicode.

Another option would be to make ReMCPE handle Unicode nativity. But that would be more work and would break network protocol compatibility.

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

      0