0
0
0leg5ergeev2016-07-06 13:48:07
MySQL
0leg5ergeev, 2016-07-06 13:48:07

How to bulk change encoding in DB CP1251 → UTF-8?

I imported about 50,000 records to wordpress, on the way the encoding fell off on some records, it became CP1251, I need it in UTF-8, is there a solution how to fix this in bulk? because there are more than 1,000 "flying" records

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
yociyavi, 2016-07-06
@yociyavi

yournet.kz/blog/mysql/kak-izmenit-kodirovku-bazy-m...

F
fraky, 2016-07-06
@fraky

if all NOT correct records have these "cracks from Serbian" - sort through the records, look for these characters in the required fields, run through iconv / or something and save back already kosher Russian in utf8,
I think otherwise it will be difficult to catch - these characters are such same utf8 as "AZ"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question