MrCBofBCinTX
Technical User
I just switched my database from SQL_ASCII to UTF8 (and changed some table names, too) by using pgdump and editing sql file until I could reload a new database without any character errors.
I found some insertion problems. I already use HTML::Entities.
I added Encode.
Most problems solved, but I am still getting nonsense characters for things like trademark symbol and that r in a circle and degree signs, etc.
I added some substitutions, which helped most of problems, but not all.
I think I am not getting this quite right.
Should I do something like HTML::Entities::encode followed right away by a decode? Something else? Or is a list of substitutions the only (ugly) answer?
I found some insertion problems. I already use HTML::Entities.
I added Encode.
Most problems solved, but I am still getting nonsense characters for things like trademark symbol and that r in a circle and degree signs, etc.
I added some substitutions, which helped most of problems, but not all.
I think I am not getting this quite right.
Should I do something like HTML::Entities::encode followed right away by a decode? Something else? Or is a list of substitutions the only (ugly) answer?