• hi there,

    there was another topic but it was closed without final resolution so i could not reply.

    so i moved my page to the php-hosting-provider strato, everyting fine.
    Then i exported using wp2static and suddenly all the umlauts disappeared into something weird.

    the hoster is using php7.3 (7.2 and 7.4 also available)

    The dynamic page does not have any problems.
    Also <meta charset=”UTF-8″> is set.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Leon Stafford

    (@leonstafford)

    Hi @mattblox,

    Is this to say it exported via WP2Static fine on the old host?

    If so and you still have both hosts running, please compare the database encoding/collation and in case any overrides were altered in wp-config.php’s between the hosts. Else, if you did any manual migration via WP export import of posts.

    Upcoming version 7 should not care as much about DB and site encodings as current V6, so encoding issues will soon be a thing of the past!

    Cheers,

    Leon

    To fix this problem open file static-html-output-plugin/plugin/WP2Static/HTMLProcessor.php , find there:
    ->loadHTML($this->raw_html);
    And replace to;
    ->loadHTML('<?xml encoding="utf-8" ?>' . $this->raw_html);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Character Encoding (ü)’ is closed to new replies.