in reply to Mixed character encoding issues
If I was able to run the code, this would be my first thing to try. I like the utf8::all module.
# this will make all filehandles and STDOUT prints be utf8 use utf8::all; # a very simple module # get your excel rows and decode them # Gives error "Cannot decode string with wide characters" # map { $_ = decode("utf8", $_) } @row; # decode the cp1252 stuff properly map { $_ = decode("cp1252", $_) } @row; # prints to the csv file will be utf8
Windows-1252 characters from \x{0080} thru \x{009f} might also be useful to you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mixed character encoding issues
by ddaupert (Initiate) on Jul 06, 2012 at 16:48 UTC |