If you don't mind using Glibmm for reading the file: Glib::ustring s; Glib::RefPtr<Glib::IOChannel> ioc = Glib::IOChannel::create_from_file(filename, "r"); ioc->read_to_end(s); > In my program I'm reading lines from a file into a Glib::ustring: > > std::string linetmp; > std::getline(source, linetmp); > line = linetmp; > > I go through the std::string since AFAIK there's no getline for > Glib::ustring. > > however when I try to output the line using > std::cout << line << "\n"; > I get a Glib::ConvertError. > std::cout << linetmp << "\n"; > works fine. > > I tried using the following line (I'm trying to write an assembler): > add 𝔐, v1, v2 > lines containing ASCII only work fine. > > Philipp > _______________________________________________ > gtkmm-list mailing list > gtkmm-list gnome org > http://mail.gnome.org/mailman/listinfo/gtkmm-list >
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature