Re: Italian letter given to to Glib::ustring causes Glib::ConvertError



#include <locale.h>

and

setlocale(LC_ALL, "en_US.utf8");

made the code work without exceptions.

King regards,
Giuseppe.


On Mon, Nov 5, 2012 at 5:28 PM, Giuseppe Penone <giuspen gmail com> wrote:
Hi,
the source file is utf-8 (edited with geany on linux ubuntu 12.04 64 bit), Is my code missing
needed lines?
Thanks,
Giuseppe.



On Mon, Nov 5, 2012 at 5:24 PM, François Legendre <f legendre gmail com> wrote:
Hi,

How your source program is encoded ? If it not utf-8 encoded, I think
you can get this error.

Yours,
----
François




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