Uconv functions at libc [PSARC/2007/517 FastTrack timeout 09/12/2007]

Roland Mainz roland.mainz at nrubsig.org
Thu Sep 6 14:37:56 PDT 2007


Ienup Sung wrote:
[snip]
> There is no notable imported interfaces. The following are the exported
> interfaces:
> 
>         Interface               Stability               Reference
> 
>         uconv_u16tou32(),       Consolidation Private   [1]
>         uconv_u16tou8(),
>         uconv_u32tou16(),
>         uconv_u32tou8(),
>         uconv_u8tou16(),
>         uconv_u8tou32()

Slightly offtopic: Are there plans to provide similar functions which
converts unicode strings from/to the current |wchar_t| (sometimes
applications may need an "easy way" (e.g. utility function) which hides
all complexity of using |iconv()| to convert the data from UTF-8 to
UCS-4 to current encoding) ?

>         UCONV_* macros          Committed               [1]
> 
>         <sys/u8_textprep.h>     Committed               A header file that has
>                                                         function prototypes
>                                                         and macros.

What about renaming the header to <sys/unicode_textprep.h>, e.g. a
longer, more descriptive name may be better... ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)



More information about the opensolaris-arc mailing list