uni2asc

Converts a string from Unicode to ASCII.

Library:LibC
Service:Characters and Strings

Syntax

  #include <unilib.h> 
   
  char *uni2asc (
     char              *dest, 
     const unicode_t   *src);
  

Parameters

dest

(OUT) Points to the converted ASCII string.

src

(IN) Points to the Unicode string.

Return Values

Returns the address of the converted string

Remarks

The uni2asc function is an abbreviated, non-preferred interface to perform translation from Unicode to ASCII characters. It assumes that the source string contains only characters from Unicode set 0, which can be converted in the range 0x00 - 0x7F or 7-bit ASCII.

See Also