screen-devel
[Top][All Lists]
Advanced

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

Re: [screen-devel] Hardcopy uses ISO-8859-1


From: Simon Ruderich
Subject: Re: [screen-devel] Hardcopy uses ISO-8859-1
Date: Tue, 26 Jan 2016 22:23:18 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]