SwitchCraftCC / Plethora-Fabric

A peripheral provider for ComputerCraft, ported to Fabric
MIT License
16 stars 13 forks source link

setSignText should be able to accept more unicode characters #43

Closed Kan18 closed 1 year ago

Kan18 commented 1 year ago

Currently setSignText's behavior (which may be caused by cobalt/cc-tweaked/etc.) is to convert each byte in the input to a single UTF-8 character (for example, \167 will be converted into U+00A7). This has the caveat that any unicode characters above U+00FF cannot be used. Perhaps a similar thing to https://github.com/SwitchCraftCC/sc-peripherals/commit/e38b194f32d76ba2b6aed2803f986fc7eb6ca877 could be done in order to allow other unicode characters.