Quan Zongliang wrote:
> hi!
>
> I am translating tips.txt to Chinese-simplified.
> It seems in frmHint.cpp has a bug.
>
> When read multibyte tips file, always display "Failed to convert file ... to Unicode".
> It is throwed at line 135 in wxWidgets\src\common\textfile.cpp.
>
> After line 129: const wxString str(buf, conv, bufPos); is executed,
> the variable str is empty.
What encoding is your file in? Can you send me a copy to test with please?
Thanks, Dave