• I had to modify the FileWriter.php to access utf-8 encoded urls:

    URI-path (raw)  :  /tag/%E7%81%BD/
    URI-path (clean):  /tag/\xe7\x81\xbd/

    by simply adding urldecode() to the directory name.

    Sample url: https://blog.fisher.hu/tag/%e7%81%bd/

    Actually not sure if I broke any standards, now it works for me. Probably it is a good idea to make it configurable and/or add it to the file names too.

    • This topic was modified 4 years, 7 months ago by fisherhu.
Viewing 1 replies (of 1 total)
  • Plugin Author Leon Stafford

    (@leonstafford)

    Thanks @fisherhu~!

    I’ll be starting some new automated tests for WPMU/multilingual sites soon for V7 and will use this if it’s not yet implemented.

    Hope WP2Static is otherwise going well for you and here to help with any other issues that pop up!

    Cheers,

    Leon

Viewing 1 replies (of 1 total)
  • The topic ‘Fix utf8 characters/urls’ is closed to new replies.