|
|
// Here we force the use of Glib::ustring::ustring( InputIterator begin, InputIterator end ) | // Here we force the use of Glib::ustring::ustring( InputIterator begin, InputIterator end ) |
// instead of Glib::ustring::ustring( const char*, size_type ) because it | // instead of Glib::ustring::ustring( const char*, size_type ) because it |
// expects the length of the string in characters, not in bytes. | // expects the length of the string in characters, not in bytes. |
parser->on_cdata_block( |
parser->on_characters( |
Glib::ustring( | Glib::ustring( |
reinterpret_cast<const char *>(ch), | reinterpret_cast<const char *>(ch), |
reinterpret_cast<const char *>(ch + len) ) ); | reinterpret_cast<const char *>(ch + len) ) ); |