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
- Oracle SQL query for Date format
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
- Can I have multiple primary keys in a single table?
- get_results using wpdb
- Database connection close
- How to create bulk page and content? [closed]
- Importing posts from old website to new conflicting post ID’s?
- Transient RSS feeds in wp_options not removed automatically?
- Best way to move live site local
- The revisions table in my database is at 70% capacity and growing. What should I do?
- WordPress for a very large website
- Database location in WordPress
- WooCommerce with thousands of products – site is very slow – optimize db queries? [closed]
- WP_list_table bulk_action get edit and delete
- How to display data from custom table in wordpress database?
- Cloning and syncing a WordPress website
- How to execute mulitple statement SQL queries using $wpdb->query?
- Store and Encrypt Contact Form 7 Submissions in Database? [closed]
- WordPress database growing dramatically in size despite adding no new content
- Clean database from unused tables
- How wordpress accesses its own database
- Migrating database / content of non-CMS site to WordPress
- Should I remove transients from the wp_options table?
- Show last modified date of database
- What generates these very slow postmeta queries? [closed]
- How to migrate a website based on a custom database to wordpress?
- How to scan barcode and store data into a database [closed]
- Fetching values from database for select box
- fastest replacement DB
- When to use custom DB tables or add_option?
- Have working sql query… trying to adjust it to use $wpdb
- Best host for running large mem and processor intensive WordPress sites?
- creating new field on mysql
- Does WordPress store the username as a primary key in the database?
- Strange characters added to the database
- Database Update Required – Update from command-line
- Custom search query by category id
- Website displays old version of page
- Image link issues after importing a database backup to my local web server
- multiple wordpress installs w/shared user database but separate content databases
- Updating seperate database when post attachment is changed
- add featured image dialog box disappear
- Displaying table data on a page
- WordPress Database – wp_usermeta and the correct number of session_tokens rows
- How to get a list of articles related to a particular category from my other WordPress website?
- /wp-admin not accessible after migrating to local host (no plugin issue)
- set_transient fails if the value has more than 60.000 characters
- A WP dev site that displays content from a live site’s database but cannot write to wp_posts?
- How do I update a WordPress wp_postmeta meta_value that contains many options
- How can I get $wpdb to show MySQL warnings?
- About wp database hooks (error establishing connection)
- Database for JQuery Autocomplete field
- Create Tables in WordPress
- WordPress Failed to Login (DB Error)
- Share WordPress Database
- DB access blocked when initializing WP externally
- Site does not work right, pages not showing up, even for root admin
- ERROR: “Table Prefix” must not be empty
- How do you build a database-centric site in WP?
- WordPress: Interact with Database Query Data and Login
- Getting an error when trying to migrate to DV server from Grid with Media Temple [closed]