Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: files saved in unicode are not being read correctly

by Courage (Parson)
on Jun 30, 2002 at 15:29 UTC ( [id://178373]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: files saved in unicode are not being read correctly
in thread files saved in unicode are not being read correctly

There's no 100% solution to your question, because even Unicode file may be considered as binary or even ascii.

AFAIK usually unicode file starts with "\xFE\xFF" or "\xFF\xFE" but this is not always true.

If a file is created by your own program, then, for example, use a special naming system, for example unicode text files let have an extension ".utxt" and ascii files just ".txt"

Courage, the Cowardly Dog.

  • Comment on Re: Re: Re: files saved in unicode are not being read correctly

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found