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

Re: [PATCH] Improved hibit text literals

Ilya Zakharevich
February 10, 2000 19:05
Re: [PATCH] Improved hibit text literals
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About