-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> has anybody got any idea on how adding such support to a C++ > program? Is it just a matter of using wchar for strings? > - From my limited knowledge, as far as UTF-16 is concerned this and using the appropriate functions from wchar.h should do it. If you need UTF-8 you're mostly on your own until C++0x comes out <http://en.wikipedia.org/wiki/C%2B%2B0x#New_string_literals> (a problem is e. g. strlen()). To use STL strings perhaps basic_string<wchar> would work, as std::string is simply a typedef basic_string<char>. But as you're using boost anyway perhaps it can do something for you? Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuw8oUACgkQ0qFE1uHKpVcMNACgl9nTw32GlBzPpE+MCZDsw5uH /GoAn3RkkbytkxncsJDU9kZbGgcG97qE =hGip -----END PGP SIGNATURE----- _______________________________________________ Help-source-highlight mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-source-highlight
