in reply to strange characters in file City , CA …
For that to work right you have to indicate that the data you are printing is proper utf8 "characters". I suspect you are reading bytes, not "characters", and so are still printing bytes.
I get confuxed about all this too. But to take bytes and make them valid utf8 "characters", i do this (i think)
It would help if you showed us how you are getting the data you are printing, and an example of the bytes in question.use Encode; $contentutf8= Encode::decode_utf8($content);
|
|---|