|Think about Loose Coupling|
Re^2: Can Perl convert ISO-? | WIN-? | MAC-? to UTF-8?by taint (Chaplain)
|on May 23, 2013 at 06:21 UTC||Need Help??|
Greetings choroba, and thank you for your reply.
My question is:
If I have a mass of (textual) files, that have mixed encoding(s) && line-endings,
aside from ICONV(1) | FILE(1), how can I unify them -- convert them all to
UTF-8 | UTF8?
Given what I do know about Perl, I should be able to slurp them, process
the contents, and spit them out as "unified" -- see UTF8 text files, all having the same line-endings.
Given that the files I'd be slurping, are of mixed "types", is there any way to process
them, so they all end up the same "type" when they're done?
I hope I was clearer || more concise this time. :)
Thanks again, for your response.
#!/usr/bin/perl -Tw use perl::always; my $perl_version = "5.12.4"; print $perl_version;