utf8 and Glib::ustring
- From: John Emmas <john creativepost co uk>
- To: gtkmm <gtkmm-list gnome org>
- Subject: utf8 and Glib::ustring
- Date: Wed, 22 Mar 2017 08:52:27 +0000
Forgive my ignorance - this'll probably be obvious to some of you...
Suppose I've got a simple character string, like this:-
const char* my_str = "Hello World";
I can assign it to a Glib::ustring very easily:-
Glib::ustring ustr = my_str;
BUT... instead of pointing to a 'normal' string (simple ASCII
characters), let's suppose that 'my_str' was already pointing to a
string in utf8 format. Will the same assignment still work - or is
there some better way of assigning a utf8 string to a Glib::ustring?
Thanks,
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]