suppertails66 / mgltools

Miscellaneous tools for Mahou Gakuen Lunar!
Other
1 stars 1 forks source link

csv_utf8: support escape characters for non-ASCII chars #4

Closed mistydemeo closed 6 years ago

mistydemeo commented 7 years ago

This uses the \xFF format supported by Ruby and Python, among others.

I found this useful with mgl_str_insr when I wanted to refer to characters outside the ASCII region, but within the 1-byte region. For example, I added a few new glyphs to the 8x8 font to replace characters in the now-unused kana sets; this escape format let me refer to it as something like \x81\x82\x83\x84, which was a lot less error-prone than trying to include those bytes literally.

mistydemeo commented 6 years ago

Ping - think you'll have a chance to look at this and the other open PRs?

suppertails66 commented 6 years ago

Merged. Sorry for leaving you hanging for 8 months! Better get my GitHub notifications straightened out...

mistydemeo commented 6 years ago

Thanks!!