[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set -x prejudiced; won't smell UTF-8 coffee
From: |
Mike Frysinger |
Subject: |
Re: set -x prejudiced; won't smell UTF-8 coffee |
Date: |
Mon, 6 Apr 2009 21:51:23 -0400 |
User-agent: |
KMail/1.11.1 (Linux/2.6.28; KDE/4.2.1; x86_64; ; ) |
On Monday 06 April 2009 21:24:35 jidanni@jidanni.org wrote:
> Gentlemen, -x's reporting should just pass the Chinese right back.
> $ set -x; export LC_ALL=$LANG; echo 中文
> + export LC_ALL=zh_TW.UTF-8
> + LC_ALL=zh_TW.UTF-8
> + echo $'\344\270\255\346\226\207'
> 中文
i dont think that's UTF-8. unicode sure, but not UTF-8. at any rate, how
exactly do you suggest differentiating between someone doing echo
$'\344\270\255' and echo 中 ? a script that echos unprintable byte sequences
that happen to form valid unicode sequences should not be displayed as such.
> Or OK, to be fair, even the ASCII should come back as octal escapes.
that's flat out illogical. printable ASCII is exactly the same in every
character set (iso/unicode/etc..).
-mike
signature.asc
Description: This is a digitally signed message part.
- set -x prejudiced; won't smell UTF-8 coffee, jidanni, 2009/04/06
- Re: set -x prejudiced; won't smell UTF-8 coffee,
Mike Frysinger <=
- Re: set -x prejudiced; won't smell UTF-8 coffee, jidanni, 2009/04/06
- Re: set -x prejudiced; won't smell UTF-8 coffee, Mike Frysinger, 2009/04/08
- Re: set -x prejudiced; won't smell UTF-8 coffee, jidanni, 2009/04/08
- Re: set -x prejudiced; won't smell UTF-8 coffee, Mike Frysinger, 2009/04/08
- Re: set -x prejudiced; won't smell UTF-8 coffee, jidanni, 2009/04/08
- Re: set -x prejudiced; won't smell UTF-8 coffee, Mike Frysinger, 2009/04/08
- Re: set -x prejudiced; won't smell UTF-8 coffee, jidanni, 2009/04/08