Lars Gullik Bjønnes wrote:
Angus Leeming writes:
| Sorry, don't follow.
Ahh so you created one more.
;-) It wasn't exactly rocket science though.
| return iconv_convert<char>("UTF-8", "UCS-4-INTERNAL", in);
No such encoding. "UCS-4" is supposed to do just that, use the default
endianess on the box.
Maybe. But http://www.gnu.org/software/libiconv/ *does* talk about
UCS-4-INTERNAL, so I'm a little suprised.
One thing to check is that Qt uses the default endianess of the box and
isn't hard-coded to UCS-2LE.
I think we can to even better, eg. avoid the use of std::vector
alltogether without loss of clarity.
I'll look at this tonight.
Very good. Sounds like your creative juices are flowing ;-)
Angus