[x] OSAPI - fairly trivial. Event names and labels will not preserve encoding, but arguments to os.queueEvent will.
[x] PeripheralAPI - in the call method we should detect if the peripheral implements IBinaryLuaObject, if it doesn't then we will need to 'decode' arguments.
[x] HTTPAPI - this will require rewriting both the reading and the request: It might just be easier to manually replace the classes.
[x] FSAPI - Not sure if just to use the binary reader/writers for everything or something else. This will be the hardest.
[ ] TermAPI - We could fix the issue with term.blit not coping with binary characters.
[x] Peripherals - CCTweak's own modems will be trivial to patch, wireless modems should also be easy. I'm not sure if we should path others: Unicode printed pages would be pretty awesome though :smile:. However, I'm not sure you need binary for unicode - this project seems to work without it.
Fixes The String Bug
OSAPI
- fairly trivial. Event names and labels will not preserve encoding, but arguments toos.queueEvent
will.PeripheralAPI
- in the call method we should detect if the peripheral implementsIBinaryLuaObject
, if it doesn't then we will need to 'decode' arguments.HTTPAPI
- this will require rewriting both the reading and the request: It might just be easier to manually replace the classes.FSAPI
- Not sure if just to use the binary reader/writers for everything or something else. This will be the hardest.TermAPI
- We could fix the issue withterm.blit
not coping with binary characters.