ianatha / bababasic

QuickBASIC 4.5 revival on Android
https://play.google.com/store/apps/details?id=io.atha.quickbasic
MIT License
94 stars 4 forks source link

feat: use UTF-8 to represent strings #80

Closed ianatha closed 10 months ago

ianatha commented 10 months ago

Change STDIO to use UTF-8 to represent strings.

My goal in this is to make backwards-compatible changes to QBasic 4.5 as to support Unicode strings / UTF-8.

As Python 3 teaches us, this is a can of worms, so don't expect this to work consistently, or for advanced use-cases, although I'll try...

This fixes #60.