Lars Gullik Bjønnes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:

| > ucs-2 with qt.
| | so no utf8 here. | | > utf-8/ucs-2 with pango. | | So utf8 is not necessary there also as pango deals perfectly with ucs2
| (and 4?)

What is your point really?

My point is that you don't really need a type for utf8. You don't even need a std::string as the only use of utf8 encoding is for outputting to some medium. We just need convert on the fly the ucs4 characters to one, two, three or four chars. Right now there is a lot of unnecessary conversion from "char *" and/or string to/from vector.

Reply via email to