{"action":"created","issue":{"url":"https://api.github.com/repos/getpelican/pelican/issues/1892","repository_url":"https://api.github.com/repos/getpelican/pelican","labels_url":"https://api.github.com/repos/getpelican/pelican/issues/1892/labels{/name}","comments_url":"https://api.github.com/repos/getpelican/pelican/issues/1892/comments","events_url":"https://api.github.com/repos/getpelican/pelican/issues/1892/events","html_url":"https://github.com/getpelican/pelican/issues/1892","id":126964743,"number":1892,"title":"Pelican changes encoding based on tld?","user":{"login":"raymestalez","id":4761235,"avatar_url":"https://avatars.githubusercontent.com/u/4761235?v=3","gravatar_id":"","url":"https://api.github.com/users/raymestalez","html_url":"https://github.com/raymestalez","followers_url":"https://api.github.com/users/raymestalez/followers","following_url":"https://api.github.com/users/raymestalez/following{/other_user}","gists_url":"https://api.github.com/users/raymestalez/gists{/gist_id}","starred_url":"https://api.github.com/users/raymestalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raymestalez/subscriptions","organizations_url":"https://api.github.com/users/raymestalez/orgs","repos_url":"https://api.github.com/users/raymestalez/repos","events_url":"https://api.github.com/users/raymestalez/events{/privacy}","received_events_url":"https://api.github.com/users/raymestalez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-15T21:46:11Z","updated_at":"2016-03-08T17:07:33Z","closed_at":null,"body":"I have a weird problem.\r\nI am using foundation icons font on my website, and when I set a variable SITEURL, all icons turn into weird symbols, when the variable is empty - everything works fine.\r\n\r\nMy website is on .io domain, so I'm guessing it could be because something sets a different encoding based on this domain?\r\n\r\nI have tried setting locale to en_US, but that doesn't solve the problem.\r\n\r\nCan you help me out?"},"comment":{"url":"https://api.github.com/repos/getpelican/pelican/issues/comments/193871275","html_url":"https://github.com/getpelican/pelican/issues/1892#issuecomment-193871275","issue_url":"https://api.github.com/repos/getpelican/pelican/issues/1892","id":193871275,"user":{"login":"Scheirle","id":4129744,"avatar_url":"https://avatars.githubusercontent.com/u/4129744?v=3","gravatar_id":"","url":"https://api.github.com/users/Scheirle","html_url":"https://github.com/Scheirle","followers_url":"https://api.github.com/users/Scheirle/followers","following_url":"https://api.github.com/users/Scheirle/following{/other_user}","gists_url":"https://api.github.com/users/Scheirle/gists{/gist_id}","starred_url":"https://api.github.com/users/Scheirle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scheirle/subscriptions","organizations_url":"https://api.github.com/users/Scheirle/orgs","repos_url":"https://api.github.com/users/Scheirle/repos","events_url":"https://api.github.com/users/Scheirle/events{/privacy}","received_events_url":"https://api.github.com/users/Scheirle/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T17:07:33Z","updated_at":"2016-03-08T17:07:33Z","body":"I can't reproduce your error. The RSS icon is visible (bottom right).\r\n\r\nWhat I did: \r\n```\r\ngit clone https://github.com/raymestalez/orangemind.git\r\nrm -R __pycache__\r\nrm -R cache\r\nrm -R output\r\nmkdir virtualenv\r\nvirtualenv -p python3 virtualenv\r\nsource virtualenv/bin/activate\r\npip install pelican\r\npip install markdown\r\n# made the changes below to pelicanconf.py\r\npelican -o output -D\r\ncd output\r\npython3 -m http.server 8081\r\n# visited localhost:8081 in my browser\r\n```\r\n\r\nChanges I made (nothing relevant):\r\n```\r\n--- a/pelicanconf.py\r\n+++ b/pelicanconf.py\r\n@@ -4,7 +4,8 @@ from __future__ import unicode_literals\r\n \r\n AUTHOR = 'Ray Alez'\r\n SITENAME = 'orangemind'\r\n-SITEURL = '' #'http://orangemind.io'\r\n+SITEURL = 'http://orangemind.io'\r\n+RELATIVE_URLS = True\r\n \r\n LOCALE = ('en_US.UTF-8')\r\n \r\n@@ -79,7 +80,7 @@ AUTHOR_SAVE_AS = ''\r\n \r\n DIRECT_TEMPLATES = ('index', 'tags', 'categories', 'archives', 'store','about',) #'about',\r\n \r\n-THEME = \"/home/ray/orangemind/themes/orangemind\"\r\n+THEME = \"themes/orangemind\"\r\n \r\n # Plugins\r\n PLUGIN_PATHS = ['/home/ray/orangemind/pelican-plugins']\r\n\r\n```\r\nNote that I had to set `RELATIVE_URLS`. Of cause I only had to set it because if `SITEURL` is specified the theme links to that url, e.g. `http://orangemind.io/theme/css/foundation-icons/foundation-icons.css` (and this currently returns a 404, because the site is not yet uploaded)"}}