The Main Manual Page Dynamic API Documentation CD-ROM API Documentation About Onix Types About Onix Errors Onix's Web Site at Lextek International Lextek International Onix Full Text Indexing and Retrieval Toolkit

ixUnicodeCharToHex

NAME

 ixUnicodeCharToHex -- Convert a byte to its hex value

SYNOPSIS

 void ixUnicodeCharToHex(UnicodeCharT C, UCharT *Output)

ARGUMENTS

C   -- The Unicode character for which you want to find its hex value.

Output  -- A pointer to a buffer four bytes or larger in size where you would like to have the hex value placed.

RETURNS

 Nothing

DESCRIPTION

ixUnicodeCharToHex converts a Unicode character into its hex equivalent.  For example, if you pass in the Unicode character "C", the first two bytes of the output buffer will be used to store the two characters "00", which signifies the "0" byte which occurs before the second byte of the Unicode character. The next two characters would be filled in as "43" which is the hex value for the decimal value 67. Both bytes (and all four hex characters) which correspond to the Unicode character "C".

SEE ALSO

 ixHexToChar, ixUnicodeHexToChar, ixUnicodeCharToHex