punycode_encode
API function
- Provided by: libidn-dev (Version: 1.38-4ubuntu1.1)
- Source: libidn
- Report a bug
API function
#include <punycode.h>
int punycode_encode(size_t input_length, const punycode_uint [] input, const unsigned char [] case_flags, size_t * output_length, char [] output);
Converts a sequence of code points (presumed to be Unicode code points) to Punycode.
Return value: The return value can be any of the Punycode_status values defined above except PUNYCODE_BAD_INPUT. If not PUNYCODE_SUCCESS, then output_size and output might contain garbage.
Converts a sequence of code points (presumed to be Unicode code points) to Punycode.
Return value: The return value can be any of the Punycode_status values defined above except PUNYCODE_BAD_INPUT. If not PUNYCODE_SUCCESS, then output_size and output might contain garbage.
Report bugs to <help-libidn@gnu.org>.
General guidelines for reporting bugs: http://www.gnu.org/gethelp/
GNU Libidn home page: http://www.gnu.org/software/libidn/
Copyright © 2002-2021 Simon Josefsson.
Copying and distribution of this file, with or without modification, are
permitted in any medium without royalty provided the copyright notice and
this notice are preserved.
The full documentation for libidn is maintained as a Texinfo manual. If the info and libidn programs are properly installed at your site, the command
should give you access to the complete manual. As an alternative you may obtain the manual from: