Re: Save files with correct character set
- From: Chris Vine <chris cvine freeserve co uk>
- To: "Spazzatura.Live" <kharhonte hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Save files with correct character set
- Date: Thu, 22 Mar 2012 21:20:33 +0000
On Thu, 22 Mar 2012 22:07:03 +0100
Spazzatura.Live <kharhonte hotmail com> wrote:
> It doesn't work:
> Saving file failed: Invalid byte sequence in conversion input
>
> Using: Glib::file_set_contents(filename,
> Glib::locale_from_utf8(TextView.get_buffer()->get_text()));
OK, that means that ISO-8859-15 is not your locale encoding. Use
Glib::convert().
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]