develooper Front page | perl.perl5.porters | Postings from February 2000

Re: [PATCH] Improved hibit text literals

From:
Ilya Zakharevich
Date:
February 10, 2000 19:05
Subject:
Re: [PATCH] Improved hibit text literals
Message ID:
200002110305.WAA21477@monk.mps.ohio-state.edu
Gisle Aas writes:
>     - under 'use utf8', hibit chars that are illegal utf8 are encoded
>       using utf8; basically automatically turns latin1 into utf8.
>       This ensure that there will never be illegal UTF8 sequences in
>       a literal string that has the UTF8 flag set.

Hmm???  Please no DWIM here.  Programmers would like to know what
their string literals mean.  Or did I misunderstand you?

>     - Octal escapes like \400 and \777 will actually do the right thing now.
>       Previously you only got the low 8-bits.

This always bothered me.  perl -0777?

Ilya



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About