Figure out what encoding your files are in... ISO-8859-1, UTF8, UTF16, whatever. Then use File::Slurp::Unicode to read them instead of File::Slurp.
When writing to the network, you may have to convert Perl's internal unicode coding to UTF-8 bytes (see Encode). And when reading from the socket, do the inverse.
In reply to Re: How can I seralize a file for use with XML?
by tobyink
in thread How can I seralize a file for use with XML?
by Lamont85
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |