Re: [Libxmlplusplus-general] std::string is not suitable for UTF8



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That's something I was worying about. Cool that we have a solution.
By curiosity, is this ustring type based on basic_string<> or not ? and 
eventually why ?

Le Mardi 12 Novembre 2002 12:34, Murray Cumming a écrit :
> This is something for later:
>
> libxml++ uses std::string in the API, but the strings provided by libxml
> are UTF8. std::string is unsuitable for this - for instance
> std::string::size() and operator[]  will not work for non-ASCII text.
>
> Some time in the future gtkmm will split its glibmm library into a
> separate project - we can then use Glib::ustring instead:
> http://www.gtkmm.org/gtkmm2/docs/reference/html/classGlib_1_1ustring.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj3Q6cUACgkQB+sU3TyOQjDzcgCfbwUnN0Fo7HXa2NAo7e0QJmYV
l6QAoLdrva8SXlBkNCHGwApJGrdX2P2I
=28CA
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]