On Sun, Jan 18, 2004 at 05:24:58PM +0300, Alexander V. Lukyanov wrote: > On Fri, Jan 16, 2004 at 04:13:32PM -0500, Glenn Maynard wrote: > > Looking at ResMgr::CharsetValidate: "iconv_open(*value,"char")". What > > is "char" supposed to do? It's always failing. (My glibc is the newest > > release, 2.3.2.) > > It stands for current locale possibly-multibyte encoding. > > It seems that glibc's iconv does not support CHAR encoding, only WCHAR_T. > So I would have to convert to wide-chars first and then use wcstombs. > I don't quite like that, maybe I would just require libiconv installed.
Ok, I have used nl_langinfo(CODESET) to find current locale charset, so libiconv won't be required (yet). -- Alexander. | software is knowlege
