<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Nick,<br>
<br>
you need to build your own UTF8 conversion function.<br>
I needed this too for building the music font comparison and the
House Style plug-in.<br>
If I remember it correctly, I used this table here for creating the
conversion function:<br>
<a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/UTF-8#Description">https://en.wikipedia.org/wiki/UTF-8#Description</a><br>
<br>
Best,<br>
Jan<br>
<br>
<br>
<div class="moz-cite-prefix">Am 23.06.2019 um 01:05 schrieb Nick
Mazuk:<br>
</div>
<blockquote type="cite"
cite="mid:9A13D34C-5D4D-4E11-A659-16E2A226E08D@nickmazuk.com">
<pre class="moz-quote-pre" wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
</pre>
</blockquote>
<br>
</body>
</html>