[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [screen-devel] Hardcopy uses ISO-8859-1
From: |
Amadeusz Sławiński |
Subject: |
Re: [screen-devel] Hardcopy uses ISO-8859-1 |
Date: |
Thu, 11 Feb 2016 08:08:44 +0100 |
Hey,
just a note that unicode++ branch is from around 4.0.3~4.1.0 so it
is quite different with regards to work done on master from then.
Check for example image.h and look for char vs uint32_t in mchar struct.
Also as I said in other mail I've started working on rewrite of those
parts of code.
Amadeusz
On Wed, 10 Feb 2016 23:34:24 +0100
Alex Naumov <address@hidden> wrote:
> Hello Simon,
>
> yes, I can reproduce it.
>
> Can you test it again, but using "unicode++" git-branch? It works for
> me. I get "UTF-8 Unicode text" twice.
> It seems we need to merge it now.
>
>
> On Tue, Jan 26, 2016 at 10:23 PM, Simon Ruderich <address@hidden>
> wrote:
> > On Tue, Jan 26, 2016 at 04:17:20PM +0100, Alex Naumov wrote:
> >> Hello Simon,
> >>
> >> we have UTF-8 mode for GNU screen. Use "-U" command-line option
> >> for that. You can also add “defutf8 on” in your ~/.screenrc.
> >>
> >> If it doesn't work for you, post about your version and OS.
> >
> > Hello Alex,
> >
> > Neither -U nor defutf8 nor both work.
> >
> > Debian Sid with GNU screen 4.3.1-2 (Screen version 4.03.01 (GNU)
> > 28-Jun-15):
> >
> > $ locale
> > LANG=en_US.UTF-8
> > LANGUAGE=
> > LC_CTYPE="en_US.UTF-8"
> > LC_NUMERIC="en_US.UTF-8"
> > LC_TIME="en_US.UTF-8"
> > LC_COLLATE=C
> > LC_MONETARY="en_US.UTF-8"
> > LC_MESSAGES="en_US.UTF-8"
> > LC_PAPER="en_US.UTF-8"
> > LC_NAME="en_US.UTF-8"
> > LC_ADDRESS="en_US.UTF-8"
> > LC_TELEPHONE="en_US.UTF-8"
> > LC_MEASUREMENT="en_US.UTF-8"
> > LC_IDENTIFICATION="en_US.UTF-8"
> > LC_ALL=
> > $ cat screenrc
> > defutf8 on
> >
> > $ screen -U c screenrc
> >
> > [ inside screen ]
> >
> > $ cat test
> > äöüß
> > $ file test
> > test: UTF-8 Unicode text
> >
> > ^a:hardcopy copy
> >
> > $ file copy
> > copy: ISO-8859 text
> >
> > The hardcopy file is not in UTF-8 as I would've expected, but
> > instead ISO-8859-1.
> >
> > Same result with just the above locale and no -U nor defutf8.
> >
> > Regards
> > Simon
> > --
> > + privacy is necessary
> > + using gnupg http://gnupg.org
> > + public key id: 0x92FEFDB7E44C32F9
>