No description
Find a file
2025-08-27 03:28:53 +01:00
.github/workflows Fix action 2024-02-03 13:43:55 +00:00
src Initial Commit 2024-02-03 13:23:48 +00:00
tests Workflows 2024-02-03 13:36:32 +00:00
.gitignore Workflows 2024-02-03 13:36:32 +00:00
mutf8.nimble Add package.skull.toml 2025-08-27 03:28:53 +01:00
package.skull.toml Add package.skull.toml 2025-08-27 03:28:53 +01:00
README.md Workflows 2024-02-03 13:36:32 +00:00

MUTF-8

An implementation of the Modified UTF-8 encoder and decoder from Java, meant for use within TagForge, an NBT parser and dumper!

Usage

import mutf8

assert decodeMutf8([0xE3.byte, 0x81, 0x82]) == "あ"
assert encodeMutf8("Hello☆") == [0x48.byte, 0x65, 0x6c, 0x6c, 0x6f, 0xe2, 0x98, 0x86]