LocToUniTagFunc

Converts a local code page character to a tagged expression that preserves the original, local code page character for round-trip conversion.

Library:LibC
Service:Characters and Strings

Syntax

  #include <unilib.h> 
   
  int LocToUniTagFunc (
     unicode_t    **dest,
     size_t         remaining,
     const char   **src, 
     void          *userParm);
  

Parameters

dest

(OUT) Points to the destination character.

remaining

(OUT) Specifies the number of characters remaining to be translated.

src

(IN) Points to the unmappable source character.

userParm

(IN) Specifies a parameter that you have defined to use with your translation function.

Return Values

If successful, returns 0. Otherwise, returns a nonzero value.

Remarks

Round-trip conversion is assured when UniToLocTagFunc is used with uninx2loc. With the value in the remaining parameter, you can finish the translation with your functions or select to have uninx2loc finish it.

See Also

UniToLocTagFunc