[JW Lua] Niente
Jan Angermüller
jan at angermueller.com
Wed Jun 26 13:37:44 CEST 2019
Hi Nick,
you need to build your own UTF8 conversion function.
I needed this too for building the music font comparison and the House
Style plug-in.
If I remember it correctly, I used this table here for creating the
conversion function:
https://en.wikipedia.org/wiki/UTF-8#Description
Best,
Jan
Am 23.06.2019 um 01:05 schrieb Nick Mazuk:
> Ok, so quick update. It seems that Lua 5.2 doesn’t support UTF-8 sometimes. I was able to get some UTF-8 symbols to work (like ½), but not ñ.
>
> To get UTF-8 to work, you need to use the escaped hex code (e.g. “\xC3\xB1”). For the ½ symbol, it’s code is technically \xC2\xBD, but using \xBD alone gets the proper symbol.
>
> However, no way that I’ve found to type ñ. Any ideas?
>
> Thanks,
>
> Nick
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20190626/d19cb84d/attachment.htm>
More information about the JWLua
mailing list