Hi Thomas,
Very interesting.
It may be down to the database encoding, I recently converted over a site as I started using UTF-8 chars and noticed them OK in WP, but not surviving the DOM parsing that I was doing in my theme’s functions…
This may take a bit of trial, error and search for you:
https://codex.wordpress.org/Converting_Database_Character_Sets
You may get lucky and just be able to change the options in wp-config.php.
Please let me know how you get on.
Cheers,
Leon
Thread Starter
Thomas
(@thiomas)
Hi Leon,
Thanks, I’ll investigate and keep you posted when I’ve found a solution.
Thomas
Thread Starter
Thomas
(@thiomas)
Hi Leon,
I checked
– wpconfig: charecter set looks correct [define(‘DB_CHARSET’, ‘utf8’);]
– database records: they are good, Umlauts are there
– export directly from database: correct, Umlauts are there
– export through wordpress admin backend (tools/ export): also correct
Files exported through wp2static still have the encoding errors.
BTW: Links in the inital support request don’t work any longer.
Best,
Thomas
Hi.
Same here.
Russian text is not encoded properly.
Hi all,
Sorry for the late follow-up.
I’m not sure how well I can troubleshoot these encoding issues without access to the system. What we can possibly do if these issues don’t resolve, is that I’ll setup some new temporary servers with full root/SSH access, ask you to replicate your site there and I can then login and debug while running the exports.
Please ensure that your WordPress site’s source code is containing <meta charset="utf-8"> within the head tags. Without this, the DOM parsing mechanism used within the plugin fails to interpret as UTF-8.
Please keep me posted with any progress you make. At this point, I’d suggest trying more things, just to eliminate them. Not sure how well Simply Static handles UTF-8, but worth trying with that plugin. With a little fiddling, WP2Static can deploy a site converted to static by Simply Static and I can make that a seamless process with a future release.
Cheers,
Leon