wxString number of bytes?
Alex Bligh
alex at alex.org.uk
Fri Aug 11 13:50:08 PDT 2006
Iulian-Nicu Serbanoiu wrote:
> Since I know internally wxString stores everything in wxChar which in
> unicode builds it has 4 bytes under linux and 2 bytes on windows(
> don't have access to others for the moment ). In ASCII build wxChar is
> 1 byte. I think the internal representation of wxString-s has nothing
> to do with encodings. It is the unicode number associated with each
> character. Maybe one of the developers more involved in this will
> enlighten us.
What I meant was that what you and I provided was the number of
bytes used to store the string, not the number of bytes a
particular encoding would need to represent it.
Alex
More information about the wx-users
mailing list