On Dec 21, 9:10*am, Navaneeth <navaneet...@gmail.com> wrote:
> > But please consider using another library. *C99 has its own functions to
> > do this and there are other high-quality UTF-8 libraries out there.
> > Apart from using the wrong return type, the author has taken what is
> > essentially a stateless encoding and added some state to the decoder so
> > that the code is not re-entrant. *It seems like a broken design.
>
> Can you please point to the other UTF8 libraries? I have already seen ICU, but that is too big for me. I just need to support UTF8.
>
> Thanks
Might get better advice on which library is best if you ask somewhere
dedicated to your specific platform, e.g. a windows group or
comp.unix.programmer. But iconv may be what you are looking for?
http://www.gnu.org/software/libiconv/
-David