lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2012/1/9 steve donovan <steve.j.donovan@gmail.com>:
> There's a new function that expands two-byte Unicode values into UTF-8 strings.
>
>    local U = winapi.utf8_expand
>    winapi.set_encoding(winapi.UTF8)
>
>    txt = U '#03BB + #03BC + C'
>    print(txt)
>    print(U '#03BD')
>    ---> OUTPUT
>    λ + μ + C
>    ν
>

I wonder if it wouldn't be better to use the existing notation &#xxx;
that HTML uses?


-- 
Sent from my toaster.