Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How can I create an UTF8 encoded txt file contains strings like "aaaa"?

by zby (Vicar)
on Sep 04, 2007 at 10:15 UTC ( #636885=note: print w/replies, xml ) Need Help??


in reply to How can I create an UTF8 encoded txt file contains strings like "aaaa"?

If you want to have only ASCII characters in that file then you don't need to warry about the encoding - just print the characters into the file. For all ASCII characters their UTF8 encoding is identical as ASCII - or in other words UTF8 is an extension of ASCII - it is different only on characters that don't belong to ASCII.
  • Comment on Re: How can I create an UTF8 encoded txt file contains strings like "aaaa"?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2020-04-09 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (47 votes). Check out past polls.

    Notices?