If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
2 posts • Page 1 of 1
- Filthy Rich wx Solver
- Posts: 203
- Joined: Tue Aug 31, 2004 7:06 pm
- Location: Behind a can of Mountain Dew
Although you are extremely lacking in details, I bet you're looking for something like this:
Also, I'm sure there is a much cleaner way (wxStringBuffer perhaps).
Code: Select all
wxFile file("somefile.txt"); char buffer; file.Read(buffer, 1024); buffer = '\0'; wxString some_iso8859_1_string(buffer, wxConvISO8859_1);