You might be able to solve this if you have a text editor with good encoding support. That way, you could switch between the Latin 1 and the UTF-8 encoding until you have the right combination. I use SubEthaEdit which can convert but also reinterpret a file when you change the encoding.
The ç
should be encoded as c3 a7
in UTF-8 when you view them as bytes. What could be happening here is that the file was interpreted as Latin 1 first, where c3 a7
means ç
, and then saved as UTF-8, where ç
is saved as c3 83 c2 a7
. You want the c3 a7
version.
The way to get back to a nice ç
is to open the file as UTF-8, save it as Latin-1, and then open it again as if it was UTF-8.
Once you did this, you can import the file into MySQL, but specify it is UTF-8, otherwise MySQL might try to interpret it as Latin 1 and you will still have the ç
characters.
Related Posts:
- What’s the simplest way to backup my WordPress database?
- Does wpdb add considerable overhead on queries with large result sets?
- How to stop WordPress using utf8mb4_unicode_520_ci collation?
- WordPress Database Charset/Collate
- How to write Hebrew characters?
- Strange characters on wordpress site – Not UTF8 Issue
- Custom DB_COLLATE (collation) value not working on fresh install?
- How to diagnose and keep in check encoding issues?
- WordPress and automated MySQL backups to a different host
- Emojis getting converted to “?”
- Backup another database with BackUpWordPress plugin [closed]
- Why are no posts showing despite my apparently correct DB restoration?
- For WordPress is there content in the database which I can safely ignore?
- What happens if I overwrite the current wp_options table with a backup from a week ago?
- Why does importing copies of the database dump and the document root make WordPress data inconsistent?
- Store partial database to an archive database time to time
- How do I convert a MySQL database from utf8mb4 to utf8 encoding?
- Where is phpMyAdmin inside WordPress?
- How To Run A Temporary Instance Of a WordPress Backup Without a Database?
- How to backup my site and restore my wordpress site
- Cannot restore wordpress database from sql dump [closed]
- wordpress database restore – broken link
- restore a db after bad backup
- Backing up WordPress database and files
- How can i restore a WordPress site with the DB and WordPress Files
- How do you enable scripts on a WordPress installation in Softaculous?
- SQL database import #1046 error
- is it possible to install new WordPress in an old WordPress folder?
- Is it possible to separate databases in WordPress site – one for orders and the other for all non-orders related
- Character encoding issue – black diamond question marks on imported post excerpts
- WPCLI search and replace in a particlar site dir effect another site-dir
- How do I find out from my database what version of WordPress I need?
- Backup Restore turns carriage returns to literal strings
- I have a WordPress 4.6 database dump – how do I use it in a new install?
- Copy WordPress to new directory
- Find/ascertain latest wordpress db from multiple database copies
- version control for wordpress? (wordpress folder and database at same time)
- WordPress Database Charset/Collate
- What’s the cleanest way to transfer WordPress to a new server
- What is an ORM, how does it work, and how should I use one? [closed]
- What is the difference between an ORM and an ODM?
- What is this JavaScript “require”?
- Rename a table in MySQL
- How should I tackle –secure-file-priv in MySQL?
- What is this JavaScript “require”?
- What is “Advanced” SQL?
- What’s the difference between identifying and non-identifying relationships?
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- What are the differences between B trees and B+ trees?
- MySQL SELECT increment counter
- How to resolve ORA-011033: ORACLE initialization or shutdown in progress
- Example of a strong and weak entity types
- Oracle SQL query for Date format
- phpMyAdmin – Error > Incorrect format parameter?
- Strange Characters in database text: Ã, Ã, ¢, â‚ €,
- Difference between partition key, composite key and clustering key in Cassandra?
- How SID is different from Service name in Oracle tnsnames.ora
- What is a relation in database terminology?
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
- Database vs File system storage
- Can I have multiple primary keys in a single table?
- Exclude Statement in SQL
- How do you query for “is not null” in Mongo?
- What is a file based database?
- Is it fine to have foreign key as primary key?
- Storing Images in DB – Yea or Nay?
- Using wpdb to connect to a separate database
- how to Optimize WordPress database for 10 million post? [duplicate]
- MySQL Database User: Which Privileges are needed?
- Why is my database import losing text widget data?
- Database synchronization between dev/staging and production
- Keeping WP database synced across multiple developers using git
- WPDB Insert or if exists Update
- Multiple developers / editors working on a site in progress
- How can I make updates to a site, on a development copy, but then move updates back without overriding live site’s evolving database?
- get_results using wpdb
- Will it break my site if I delete all transient records in wp_options table?
- Checking if Database Table exists
- Why WordPress choose data serialization over json_encode?
- WordPress (MyISAM) database is slow, should I switch to InnoDB?
- $wpdb won’t insert NULL into table column
- Relaunch 4.2 utf8mb4 database upgrade
- Fastest way (least amount of steps) to locally import a remote database using WP-CLI
- Safest way to bulk delete post revisions
- Please explain how WordPress works with MySQL character set and collation at a low level
- Solution for database version control and deployment?
- The MySQL alternatives: Do Percona Server and MariaDB work well with WordPress, and do they make WordPress go better?
- How many users can WordPress handle?
- Get error messages when $wpdb->insert() returns false?
- Detecting errors generated by $wpdb->get_results()
- Staging sites, how do you manage synchronising updates in the DB?
- Does dbDelta delete columns as well?
- How to get the post publish date outside the loop?
- MariaDB as a backend database
- wpdb update add current timestamp not working
- Site stuck in “Database Update Required” loop
- How to fetch Data in WordPress using MySQLi or $wpdb
- WordPress Database lost auto increment