Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Matching non-ASCII file contents with file name.

by Corion (Patriarch)
on Dec 23, 2022 at 07:16 UTC ( [id://11149042]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Matching non-ASCII file contents with file name.
in thread Matching non-ASCII file contents with file name.

Maybe the problem is elsewhere? Because binmode says:

To mark FILEHANDLE as UTF-8, use :utf8 or :encoding(UTF-8). :utf8 just marks the data as UTF-8 without further checking, while :encoding(UTF-8) checks the data for actually being valid UTF-8.

I read this as that the two should behave identical (except for warnings). Maybe someone else knows where the differences come from.

  • Comment on Re^3: Matching non-ASCII file contents with file name.

Replies are listed 'Best First'.
Re^4: Matching non-ASCII file contents with file name.
by hippo (Bishop) on Dec 23, 2022 at 08:26 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149042]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-24 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found