[Libxmlplusplus-general] std::string is not suitable for UTF8
- From: murrayc t-online de (Murray Cumming)
- To: libxml++ <libxmlplusplus-general lists sourceforge net>
- Subject: [Libxmlplusplus-general] std::string is not suitable for UTF8
- Date: 12 Nov 2002 12:34:13 +0100
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
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]