|
|
| Just another Perl shrine | |
| PerlMonks |
Re: how to read from utf8 text file?by moritz (Cardinal) |
| on Jul 01, 2008 at 12:06 UTC ( [id://694930]=note: print w/replies, xml ) | Need Help?? |
|
If the file is in UTF-8 indeed, open your file like this:
Then you also have to decide for an encoding when you enter it into your database, or print it to your console. You have to know your DBs encoding for that, and I know too little of Microsoft's various programs to help you with that. I think MS uses UTF-16le for many things, it might be worth a try. See also perluniintro, Encode, perlunicode, Character Sets and Unicode.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||