So, let's get this straight.
You fixed the way you read and write data from and to files, and now the old data which were written in the broken way don't work anymore.
So you need three steps:
For identifying which data is broken, I hope you have some timestamps along with your data, or that you write the rows sequentially, so that you can easily see which rows are "old" and which are "new".
For identifying in which way the data is wrongly encoded, I recommend to look at the data with hexdump -C yourfilename - it gives more reliable information than perl (at least if you don't grok how perl does what it does).
If you have some samples of the broken data and how it should look like, you can also try Encode::Repair. If that module doesn't work for you, I'll be happy to improve it, if you provide enough information.
In reply to Re: Mess with UTF-8, utf8 and raw encoding on live working platform
by moritz
in thread Mess with UTF-8, utf8 and raw encoding on live working platform
by AlfaProject
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |