[Tcsh] "Readable" Unicode in setenv

H.Merijn Brand tcsh at tux.freedom.nl
Fri Dec 10 11:57:11 UTC 2021


On Thu, 9 Dec 2021 19:58:34 +0200, Kimmo Suominen <kim at netbsd.org> wrote:

> On Thu, 9 Dec 2021 at 19:56, Kimmo Suominen <kim at netbsd.org> wrote:
> > To make it easier for everyone to try this out, I've released 6.23.01:
> > ftp://ftp.astron.com/pub/tcsh/tcsh-6.23.00.tar.gz  
> 
> I really meant:
> ftp://ftp.astron.com/pub/tcsh/tcsh-6.23.01.tar.gz
> 
> > RMD160 (tcsh-6.23.01.tar.gz) = 6e760ce9fc75a8ce36fdfbc590a38186cac564d5  
> 
> Cheers,
> + Kimmo

These are all as expected:

% echo \u20ac
u20ac

% echo "\u20ac"
€

% echo '\u20ac'
€

% echo "\x20ac"
 ac

% echo "\x{20ac}"
€

% setenv EURO "\u20ac" ; echo $EURO
€

% setenv EURO "\x20ac" ; echo $EURO
 ac


This is not:

% setenv EURO "\x{20ac}" ; echo $EURO
 ac

If not a bug, could you explain why?

-- 
H.Merijn Brand  https://tux.nl   Perl Monger   http://amsterdam.pm.org/
using perl5.00307 .. 5.33        porting perl5 on HP-UX, AIX, and Linux
https://tux.nl/email.html http://qa.perl.org https://www.test-smoke.org
                           
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.astron.com/pipermail/tcsh/attachments/20211210/c0aca127/attachment.asc>


More information about the Tcsh mailing list