How to convert from CP437

Vadim Zeitlin vadim at wxwindows.org
Wed May 2 05:43:50 PDT 2007


On Wed, 02 May 2007 08:13:23 +0100 Stephen Jackson <spjackson42 at gmail.com> wrote:

SJ> I want to read a file which is encoded in Code Page 437 (ancient IBM
SJ> PC / DOS encoding) where, for example the byte 0x8a represents e-grave.
SJ> 
SJ> I want to store the text in a wxString. I cannot see how to do this with
SJ> wxMBConv or with wxEncodingConverter. The doc page for the latter lists
SJ> some supported encodings, and CP437 isn't one of these.

 CP437 should be supported by wxCSConv(wxFONTENCODING_CP437), did you have
any particular problems using it?

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list