charset - utf ...
i have a problem with the german characters.
after crawling my site looks like that:
but should look like that:
but if i look in the "index.html" there is the right utf charset, i think:
where can i find the mistake? what is the solution?
would be great if someone has a hint for me,
thank you and best regards,
- 13 replies
- Leon Stafford @leonstafford2018-12-23 15:50:43.869Z
It looks like this issue here:https://github.com/leonstafford/wp2static/issues/29
Could you please add to that issue or on this forum, a sample snippet of code from your WordPress site's source and this static copy's source (ie, View Source from right-click within your browser).
That will help me have some samples to work a solution for.
- Hmac @huji2019-01-16 14:49:38.436Z
hi Leon, I have the same problem, how can I solve this problem, it is very urgent.
- Leon Stafford @leonstafford2019-01-23 03:04:11.308Z
Please try this latest preview release, which adds a fix for UTF-8 encoded pages:https://github.com/leonstafford/wp2static/releases/tag/next_release_preview
Most WordPress themes should have this included, else ensure this is in your HTML code, else the plugin doesn't properly handle the encodings:
<meta charset="utf-8" />
That links is broken? Maybe you meant: https://github.com/leonstafford/wp2static/releases and clicking the "Latest release" green text? results in version 6.3 released a few days ago. @huji
- WWoah @woah2019-02-12 12:57:47.267Z
Anyone already has fixxed this? Just checking last time otherwise will move on :)
- Leon Stafford @leonstafford2019-02-12 22:32:15.325Z
It's likely down to a combination of your database encoding, the encoding used when entering the content and any other conversion steps throughout the process.
It's not something I can quickly troubleshoot with some back and forth over emails/forum, but if you would like to hire me for a few hrs, I can take a look at it for you.
Alternatively, you may try to do the static conversion with HTTrack and some scripts for rewriting URLs, that may have better support for the encoding used.
Thanks for your reply Leon. All clear.. What about the root problem? If we can't run in root i know enough and we will just move on.