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.
-
Stefan
- Experienced Solver

- Posts: 57
- Joined: Mon Feb 28, 2005 10:17 pm
Post
by Stefan » Thu Mar 16, 2006 6:20 pm
Hello, i have an unicode related question.
Is the wxString class aware of of the fact that unicode requires more than 2 bytes? I do not think so, so why does the docu say, wxString can be used for unicode?
Codepoints since 2001 do need at least 3 bytes (ok 4;) ).
What do you think, have i overlooked something?
-
eco
- Filthy Rich wx Solver

- Posts: 203
- Joined: Tue Aug 31, 2004 7:06 pm
- Location: Behind a can of Mountain Dew
-
Contact:
Post
by eco » Thu Mar 16, 2006 7:21 pm
The bytes needed depends on the encoding. Not all encodings support all codepoints. I'm unsure what encoding wxString uses internally.
-
Stefan
- Experienced Solver

- Posts: 57
- Joined: Mon Feb 28, 2005 10:17 pm
Post
by Stefan » Fri Mar 17, 2006 6:03 am
Yes, but the continuous 16 Bit isn't enough. And i fear wxString just uses this for Windows. So it must at least be UTF16 but i do not think that