Skip to content

Lua: Add UTF16 <-> UTF8 conversion - #967

Open
Gruetzig wants to merge 2 commits into
d0k3:masterfrom
Gruetzig:utf16
Open

Lua: Add UTF16 <-> UTF8 conversion#967
Gruetzig wants to merge 2 commits into
d0k3:masterfrom
Gruetzig:utf16

Conversation

@Gruetzig

Copy link
Copy Markdown
Contributor

Helpful when interacting with system files that save in UTF16 format.

@Gruetzig
Gruetzig marked this pull request as draft June 18, 2026 16:15
@Gruetzig
Gruetzig marked this pull request as ready for review June 18, 2026 16:20
@d0k3

d0k3 commented Jul 5, 2026

Copy link
Copy Markdown
Owner

@ihaveamac - I think I will need your input on that one.

Comment thread data/luapackages/util.lua Outdated
Comment thread arm9/source/lua/gm9internalutil.c Outdated
also fix a bug in utf16_to_utf8 where an improper len_in leads to garbage data appended to the utf8 string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants