delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/11/06/09:12:08

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=L0BjTGp3AWyXnurT
lYlJmjEYL+j3KHjQStWao9JUv0c7Zsxyc4AtrDY1mi3zwTtPKWlvpFhd0qIJAr16
rhodq4shqFYFkRnWqNkJa2twPDKCs5BJNM2sj+MJqZkUwHegS2g2okE9KsudTAUk
UBTL3uoV3N28M5KoeKwPI9Dq14Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=t15rd2gxz7sieqvmH4iT36
QoBGQ=; b=rqTBswusMpNiS7+xxZo08yoFSgh7WR9wZl4eWXXY5htyh7n2uCfCpJ
LULGUzp7He5Wl/cyCiz6ZcEgIKCln250hvJUs75KvFFTkRyJ0eHgq10If2J80I+8
1DPyRWwu0s/CBfr9sSEBS7h0MFDQe1Yh/ZVThzOL8HmGdrCkA9moo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,GARBLED_BODY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.1 spammy=fish, japanese, Japanese, announcement
X-HELO: smtp-out-so.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: [ANNOUNCEMENT] xterm 348-1
To: cygwin AT cygwin DOT com
References: <announce DOT 20190911182437 DOT 37466-1-yselkowitz AT cygwin DOT com> <b4mtv7ogyyh DOT fsf AT jpl DOT org> <20191106211318 DOT 263462ceb47f01f6fd63c64e AT nifty DOT ne DOT jp>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <420cec84-46a7-c55c-f723-dfd96d39d39b@SystematicSw.ab.ca>
Date: Wed, 6 Nov 2019 07:11:14 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <20191106211318.263462ceb47f01f6fd63c64e@nifty.ne.jp>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On 2019-11-06 05:13, Takashi Yano wrote:
> 
> 
> On Fri, 01 Nov 2019 10:36:06 +0900
> Katsumi Yamaoka wrote:
>> Hi,
>>
>> On Wed, 11 Sep 2019 18:24:37 -0400, Yaakov Selkowitz wrote:
>>> The following packages have been uploaded to the Cygwin distribution:
>>
>>> * xterm-348-1
>>
>> First of all, reverting it to XTerm(330) solved my problem.
>> When copying non-ASCII text from another window to XTerm(348), it
>> will be shown as a combination of ASCII and control characters,
>> not the original human readable representation.
>>
>> I usually use Japanese text, これは日本語です for example.  AFAICT,
>> only the copy and paste is bad; `less' shows Japanese text and
>> `ls' shows Japanese file names correctly.
>>
>> Is there a way to fix this problem?
>>
>> $ locale
>> LANG=C
>> LC_CTYPE="ja_JP.UTF-8"
>> LC_NUMERIC="C"
>> LC_TIME="C"
>> LC_COLLATE="C"
>> LC_MONETARY="C"
>> LC_MESSAGES="C"
>> LC_ALL=
> 
> I confirmed this occurs only if shell is tcsh. If shell is bash, zsh
> or fish, pasting Japanese string works as expected. It works in cat,
> od, etc as well.
> 
> The cause is unknown.

Does it work properly if LANG="ja_JP.UTF-8" under tcsh?

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019