Some reading on IRIs and IDNs

cage cage-dev at twistfold.it
Sat Dec 12 11:10:48 GMT 2020


On Fri, Dec 11, 2020 at 06:49:17PM -0500, Sean Conner wrote:

[...]

>
>   Here's the code I wrote to wrap libidn:
>
> 	https://github.com/spc476/lua-conmanorg/blob/master/src/idn.c
>
> It's geared for Lua, but the code itself is in C, but it should be pretty
> easy to see what is going on.

Thank  you Sean!   I am,  in fact  starting to  wrap libidn  (actually
libidn2) so far seems that i got a working unicode->ascii function. Of
course i will be happy to share  the results and maybe, if some people
are going to be  interested (and if i succeed!  :))  i could extract a
library from this code (it is integrated in the client at moment).

Bye!
C.


More information about the Gemini mailing list