wxMSW: wxEncodingConverter::Init() fails

Volker Bartheld dr_versaeg at freenet.de
Wed Jan 23 04:40:54 PST 2008


Hi!

wxEncodingConverter::Init(wxFONTENCODING_UTF8, wxFONTENCODING_UNICODE)
returns false on my WinXP machine. I'm running the Unicode build of wxW
(_UNICODE, UNICODE and wxUSE_UNICODE set) and while singlestepping the
code, it seems that src\common\encconv.cpp::GetEncTable() doesn't find the
codepage for wxFONTENCODING_UTF8.

A glance at "Control Panel/Regional and Language Options/Advanced/Code page
conversion tables" reveals, that the "65001 (UTF-8)"-checkmark is set.

What am I doing wrong?

Thanks a lot for your help!

Volker

-- 
mailto:  V B A R T H E L D at G M X dot D E






More information about the wx-users mailing list