Re: utf8 odd behavior with Gtk2
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: utf8 odd behavior with Gtk2
- Date: Sat, 05 Jan 2013 23:57:11 +0100
On 08.07.2012 00:49, Kevin Ryde wrote:
â Do we continue to use SvPV/newSVpv but also store the UTF8 flag, and
if it was set, restore it?
I've now implemented this approach:
<http://git.gnome.org/browse/perl-Glib/commit/?id=24e411443fc9e8d0fccae9a832bf4a2aa4a7fc5e>.
zentara, can you verify that this fixes the problem for you, too?
Sounds likely, in as much as it's round-trip clean. What does posix say
about the encoding of argv? Text would be in the locale charset
wouldn't it?
According to
<http://stackoverflow.com/questions/5408730/what-is-the-encoding-of-argv>,
what you get in argv can actually be in different encodings. What you
type in is encoded according to your shell frontend (so probably
according to the locale), but when you tab-complete a filename, for
example, the bytes you get in argv will be the bytes from the disk.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]