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

Todo-5.6 (utf8 file i/o)

Thread Next
David Dyck
March 16, 2000 10:00
Todo-5.6 (utf8 file i/o)
Message ID:

In Todo-5.6 under the Unicode support section it states:

    add support for I/O disciplines
        - a way to specify disciplines when opening things:
            open(F, "<:crlf :utf16", $file)

Is this what is required to get perl to read in a utf8 file

perl -e '$l=v333;printf STDERR "%vd\n", $l;print $l' | 
     perl -0777 -e '$l=<>;printf STDERR "%vd\n", $l'

I get


And I'd have expected  to see the second perl process print out
the same value as the first.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About