Re: string problems



On Thu, 2007-10-04 at 21:02 +0200, Philipp Klaus Krause wrote:

> 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.

line is a Glib::ustring, right?

it expect a proper UTF-8 stream.... as you expained you have
non-ASCII :-) make sure they are valid UTF-8.


Hub




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