SmallBASIC icon indicating copy to clipboard operation
SmallBASIC copied to clipboard

The graphical version does not support UTF-8

Open programandala-net opened this issue 6 years ago • 3 comments
trafficstars

I've been trying the latest SmallBASIC (0.12.16) on Debian (9.11) and Android (5.0.1). It is exactly what I needed for a project (a text console program): A modern BASIC easy to install on Android, and which can interpret the same source developed and tried on Debian.

But I've realized that the Android version doesn't support UTF-8 sources (multi-byte characters are displayed apart as ISO 8859-1 characters). Encoding the source in ISO 8859-1 seems to work fine, but it's not enough for this project, which is multilingual.

Is this a bug, an oversight or by design?

programandala-net avatar Oct 08 '19 12:10 programandala-net

It's not the Android version. I have compiled the SDL version on Debian, and the same problem happens.

programandala-net avatar Oct 11 '19 16:10 programandala-net

Yes, unfortunately it's a bug/oversight etc. It would probably be a lot of work to implement this so I'm not sure when I'd get time. Interestingly some people have made font type programs that draw characters using graphics primitives. It might be possible to use something like this as a workaround.

chrisws avatar Oct 31 '19 21:10 chrisws

I have tried using SmallBASIC on Microsoft Windows. SmallBASIC is very good project.

I have realized SmallBASIC not support UTF-8. I would like support UTF-8.

ercanersoy avatar Feb 14 '20 16:02 ercanersoy