Fix utf8 characters/urls
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fix utf8 characters/urls’ is closed to new replies.