- edited description
unicode error in Boardie
Issue #422
resolved
Comments (8)
-
reporter -
repo owner Thanks for reporting this. Will investigate.
-
repo owner - changed status to open
-
repo owner Found the problem. Fix will be in the next Pilot release.
-
reporter 👍
-
repo owner FYI, the underlying cause of this bug is an explicit ambiguity in the C language spec.
The C language does not specify whether an 8-bit char datatype is signed or unsigned; that choice is left up to the implementation. Thus, the C code for primUnicodeAt() had different behavior depending on whether it was compiled for a microcontroller or for Boardie.
I've been using C for decades but I did not know about this particular design flaw...
-
reporter Thanks for the explanation and your work on microblocks, we happily program the hardware bypassing C 😄
-
reporter - changed status to resolved
- Log in to comment