June 18, 2013

Post: Fixing column encoding mess in MySQL

to write a throwaway PHP script which would SET NAMES cp1251, pull the offending rows (they’d come out in UTF-8), iconv() them to proper cp1251, and UPDATE them with new values. However it’s possible to fix the issue…