riff-lang / riff

The Riff programming language
https://riff.cx
BSD Zero Clause License
23 stars 1 forks source link

`%m` format specifier doesn't handle Unicode code points #56

Closed darrylabbate closed 1 year ago

darrylabbate commented 1 year ago
$ bin/riff -e "printf('%m\n',ord('π'))"
�

Note that %c works fine, though only for single characters

$ bin/riff -e "printf('%c\n',ord('π'))"
π
darrylabbate commented 1 year ago

See #55