mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-26 04:52:08 +00:00
Report garbage chars as their bytes; don't try decoding them as UTF-8
This decoding required high lookahead, and was not even consistently useful (the `garbage_char` test case was not valid UTF-8 and so did not benefit from `reportGarbageChar`). This limits UTF-8 handling to the `STRLEN` and `STRSUB` built-in functions, and to charmap conversion.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
ERROR: garbage_char.asm(1):
|
||||
Unknown character 0xFF
|
||||
Unknown character '\xff'
|
||||
error: Assembly aborted (1 error)!
|
||||
|
||||
Reference in New Issue
Block a user