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

SILC Toolkit Reference Manual SILC Client Library Using SILC Client Library Client Library Interface SILC Core Library SILC Authentication Interface SILC Message 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 Attributes Interface Packet Protocol Interface SILC Crypto Library Introduction to SILC RNG SILC RNG Interface SILC Cipher API SILC PKCS API SILC Hash Interface SILC HMAC Interface SILC Math Library SILC MP Interface SILC Math Interface SILC SFTP Library SILC SFTP Interface SFTP Filesystems Interface SILC Key Exchange Library SILC SKE Interface SKE Status Types SKE Diffie Hellman Groups SKE Payloads 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 VCard Interface SILC Application Utilities Resource Links SILC Project Website SILC Protocol Documentation SILC White Paper SILC FAQ
Function silc_utf8_decode SYNOPSIS
        SilcUInt32 silc_utf8_decode(const unsigned char *utf8,
                                    SilcUInt32 utf8_len,
                                    SilcStringEncoding bin_encoding,
                                    unsigned char *bin, SilcUInt32 bin_size);
DESCRIPTION
        Decodes UTF-8 encoded string `utf8' to string of which encoding is
        to be `bin_encoding', into the `bin' buffer of size of `bin_size'.
        Returns the length of the decoded buffer, or zero (0) on error.
        By default `bin_encoding' is ASCII, and the caller needs to know to
        which encoding the output string is to be encoded if ASCII is not
        desired.
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 silc_strncat

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