Lines Matching refs:iconv
53 #include <iconv.h>
1557 // VS: glibc 2.1.3 is broken in that iconv() conversion to/from UCS4 fails with
1559 // (unless there's yet another bug in glibc) the only case when iconv()
1563 // iconv() failure.
1588 // wxMBConv_iconv: encapsulates an iconv character set
1614 // the iconv handlers used to translate from multibyte
1663 // iconv operates with chars, not wxChars, but luckily it uses only ASCII
1727 res = iconv(
1733 wxLogLastError(wxT("iconv"));
1751 wxT("iconv wchar_t charset is \"%s\"%s"),
1814 // NB: iconv() is MT-safe, but each thread must use its own iconv_t handle.
1825 // VS: Use these instead of psz, buf because iconv() modifies its arguments:
1832 cres = iconv(m2w,
1860 cres = iconv(m2w,
1871 //VS: it is ok if iconv fails, hence trace only
1872 wxLogTrace(TRACE_STRCONV, wxT("iconv failed: %s"), wxSysErrorMsg(wxSysErrorCode()));
1909 cres = iconv( w2m, ICONV_CHAR_CAST(&psz), &inbuf, &buf, &outbuf );
1913 // NB: iconv was given only wcslen(psz) characters on input, and so
1930 cres = iconv( w2m, ICONV_CHAR_CAST(&psz), &inbuf, &buf, &outbuf );
1944 wxLogTrace(TRACE_STRCONV, wxT("iconv failed: %s"), wxSysErrorMsg(wxSysErrorCode()));
1968 if ( iconv(w2m, ICONV_CHAR_CAST(&inBuff), &inLen, &outBuff, &outLen) == (size_t)-1 )
2029 // the behaviour is not compatible with the Unix version (using iconv)
3345 // 1. OS conversion (iconv() under Unix or Win32 API)
3391 // be created using a different method, so only store failed iconv creation