Copyright © 2001 - 2002 SILC Project SILC Project Website | SILC Toolkit Reference Manual

SILC Toolkit Reference Manual SILC Core Library SILC Authentication Interface SILC Channel Interface SILC Command Interface SILC Notify Interface SILC Status Types SILC Modes SILC ID Interface SILC ID Cache Interface SILC Argument Interface SILC Private Message Interface Packet Protocol Interface SILC Math Library SILC MP Interface SILC Math Interface SILC SFTP Library SILC SFTP Interface SFTP Filesystems Interface SILC Utility Library Basic SILC Types SILC Buffer Interface SILC Buffer Format Interface SILC Hash Table Interface SILC Logging Interface SILC Memory Interface SILC Mutex Interface SILC Thread Interface SILC Network Interface SILC Schedule Interface SILC Socket Interface SILC Protocol Interface SILC Config Interface SILC File Util Interface SILC String Util Interface SILC Util Interface SILC List Interface SILC Dynamic List Interface SILC Zip API SILC Key Exchange Library SILC SKE Interface SKE Status Types SKE Diffie Hellman Groups SKE Payloads SILC Client Library Using SILC Client Library Client Library Interface SILC Crypto Library Introduction to SILC RNG SILC RNG Interface SILC HMAC Interface SILC Cipher API SILC Hash API SILC PKCS API Resource Links SILC Project Website SILC Protocol Documentation SILC White Paper SILC FAQ
Function silc_utf8_encode SYNOPSIS
        SilcUInt32 silc_utf8_encode(const unsigned char *bin, SilcUInt32 bin_len,
                                    SilcStringEncoding bin_encoding,
                                    unsigned char *utf8, SilcUInt32 utf8_size);
DESCRIPTION
        Encodes the string `bin' of which encoding is `bin_encoding' to the
        UTF-8 encoding into the buffer `utf8' which is of size of `utf8_size'.
        Returns the length of the UTF-8 encoded string, or zero (0) on error.
        By default `bin_encoding' is ASCII, and the caller needs to know the
        encoding of the input string if it is anything else.
SILC String Utilities silc_pem_encode silc_pem_encode_file silc_pem_decode SilcStringEncoding silc_utf8_encode silc_utf8_decode silc_utf8_encoded_len silc_utf8_valid silc_mime_parse

Copyright © 2001 - 2002 SILC Project SILC Project Website | SILC Toolkit Reference Manual