Ваня <[email protected]> writes:

>  Good day!
> I use Your library "punycode.h " , namely the function
> "punycode_encode() ", but can't understand how to use it to convert
> the string to punycode .  Could You give a simple example of its use?
> Many thanks in advance !

Hello.  The Punycode functions are documented here:

https://www.gnu.org/software/libidn/manual/libidn.html#Punycode-Functions

There is an example source code snippet here:

https://www.gnu.org/software/libidn/manual/libidn.html#Example-2

I do wonder if you really want to perform the raw punycode encoding
though.  It is much more common to perform the IDNA ToASCII operation.

/Simon

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Help-libidn mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-libidn
  • punycode.h Ваня
    • Re: punycode.h Simon Josefsson

Reply via email to