|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
UTF8 - Same script, different behaviourby Melly (Chaplain) |
| on Apr 28, 2020 at 12:15 UTC ( [id://11116153]=perlquestion: print w/replies, xml ) | Need Help?? |
|
Melly has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks This is going to be a somewhat vague question I'm afraid... I have a script that reads some csv and outputs to a different format. Locally, I'm getting a an error when it outputs non-ascii UTF8 ("Wide character in print"), but not on site, even with the same data. Both locations are using Active State - 5.24 locally, and 5.16.2 on site. In addition, to get a simple case, I wrote a short script that just reads the data and outputs it to a file, with no other processing. However, this doesn't throw an error either locally or on site.
So, I guess my questions are: 1. What should I look for/check in terms of the local/site difference? Apologies for the somewhat vague question - happy to supply more details if required - oh, and in the example I've been looking at, it was 'proper' single-quotes that were giving the error. Tom Melly, pm (at) cursingmaggot (stop) co (stop) uk
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||