asar icon indicating copy to clipboard operation
asar copied to clipboard

Add UTF-8 support to " and ' delimited strings/characters

Open RPGHacker opened this issue 7 years ago • 1 comments
trafficstars

Very low priority (and probably a bit messy), but it would be kinda nice to add UTF-8 support to tables, print commands and table files in a future version of Asar.

I remember working on some German patchs in the past where umlauts like ÄÖÜ caused problems and I had to write these characters as hex values instead. My VWF patch would certainly greatly benefit from this feature, but I think it would be useful to international users in general. Code compatibility should still be granted, since code uses only ASCII commands. Some strings using ANSI characters >= 128 might break from a transition, but there should only be few cases like that and they wouldn't break too horribly - only some characters would get replaced by garbage characters or disappear.

RPGHacker avatar Mar 14 '18 20:03 RPGHacker

This would be useful for my Core Dump patch, which uses UTF-8 to store text in the ROM.

https://github.com/ExE-Boss/SMW-Workspace/blob/1fc0fbf5ea2eeacf1a525c7bbf1e7ad96466d0d5/src/core_dump/core_dump.asm#L404-L513

ExE-Boss avatar Mar 26 '18 06:03 ExE-Boss

This has been completed in the asar2 branch. It will not be backported. Closing.

p4plus2 avatar Jan 21 '24 02:01 p4plus2