Skip to content

Character encoding mismatch: .cpmproject files read as Windows-1252 instead of UTF-8 in Blockbench #952

@SharpIceX

Description

@SharpIceX

The issue is not present in the CPM editor (both in-game and web versions), but occurs exclusively when opening .cpmproject files in Blockbench.

Example File

Image

comproject.zip

Blockbench

CJK.cpmproject

Image

Emoji.cpmproject

Image

Encoding Error

The config.json is natively saved in UTF-8, but the CPM Blockbench plugin incorrectly reads it as Windows-1252 / ISO-8859-1.

Image

I tried to fix this myself, but the underlying issue turned out to be quite complicated.

Also, why is the CustomPlayerModels-EditorWeb symlink required during the plugin build? (ln -s ./Web ./CustomPlayerModels-EditorWeb)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions