{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/53","labels_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/53/comments","events_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/53/events","html_url":"https://github.com/sphinx-gallery/sphinx-gallery/issues/53","id":100358619,"number":53,"title":"Presence of umlauts causes problems when parsing searchindex.js","user":{"login":"florian-wagner","id":2799008,"avatar_url":"https://avatars.githubusercontent.com/u/2799008?v=3","gravatar_id":"","url":"https://api.github.com/users/florian-wagner","html_url":"https://github.com/florian-wagner","followers_url":"https://api.github.com/users/florian-wagner/followers","following_url":"https://api.github.com/users/florian-wagner/following{/other_user}","gists_url":"https://api.github.com/users/florian-wagner/gists{/gist_id}","starred_url":"https://api.github.com/users/florian-wagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florian-wagner/subscriptions","organizations_url":"https://api.github.com/users/florian-wagner/orgs","repos_url":"https://api.github.com/users/florian-wagner/repos","events_url":"https://api.github.com/users/florian-wagner/events{/privacy}","received_events_url":"https://api.github.com/users/florian-wagner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-11T17:00:03Z","updated_at":"2015-08-18T11:49:56Z","closed_at":null,"body":"We have a few umlauts in our project (i.e. in two of the authors lastnames). `make html-noplot` works fine, but sphinxgallery runs into problems:\r\n\r\n``` python\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python3.4/site-packages/sphinx/cmdline.py\", line 254, in main\r\n    app.build(force_all, filenames)\r\n  File \"/usr/lib64/python3.4/site-packages/sphinx/application.py\", line 221, in build\r\n    self.emit('build-finished', None)\r\n  File \"/usr/lib64/python3.4/site-packages/sphinx/application.py\", line 400, in emit\r\n    results.append(callback(self, *args))\r\n  File \"/usr/lib64/python3.4/site-packages/sphinxgallery/docs_resolv.py\", line 432, in embed_code_links\r\n    _embed_code_links(app, gallery_conf, gallery_dir)\r\n  File \"/usr/lib64/python3.4/site-packages/sphinxgallery/docs_resolv.py\", line 328, in _embed_code_links\r\n    relative=True)\r\n  File \"/usr/lib64/python3.4/site-packages/sphinxgallery/docs_resolv.py\", line 212, in __init__\r\n    sindex = get_data(searchindex_url, gallery_dir)\r\n  File \"/usr/lib64/python3.4/site-packages/sphinxgallery/docs_resolv.py\", line 66, in get_data\r\n    data = _get_data(url)\r\n  File \"/usr/lib64/python3.4/site-packages/sphinxgallery/docs_resolv.py\", line 49, in _get_data\r\n    data = fid.read()\r\n  File \"/usr/lib64/python3.4/encodings/ascii.py\", line 26, in decode\r\n    return codecs.ascii_decode(input, self.errors)[0]\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10117: ordinal not in range(128)\r\n```\r\nThey appear cause problems when searchindex.js is parsed. Can this be improved?"},"comment":{"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/comments/132185031","html_url":"https://github.com/sphinx-gallery/sphinx-gallery/issues/53#issuecomment-132185031","issue_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/53","id":132185031,"user":{"login":"lesteve","id":1680079,"avatar_url":"https://avatars.githubusercontent.com/u/1680079?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteve","html_url":"https://github.com/lesteve","followers_url":"https://api.github.com/users/lesteve/followers","following_url":"https://api.github.com/users/lesteve/following{/other_user}","gists_url":"https://api.github.com/users/lesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteve/subscriptions","organizations_url":"https://api.github.com/users/lesteve/orgs","repos_url":"https://api.github.com/users/lesteve/repos","events_url":"https://api.github.com/users/lesteve/events{/privacy}","received_events_url":"https://api.github.com/users/lesteve/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T11:49:56Z","updated_at":"2015-08-18T11:49:56Z","body":"Could it not be a problem with your locale?\r\n\r\nWhat's the output of `locale` in your shell?\r\nAlso what do you get when doing `python -c 'import sys; print(sys.stdout.encoding)'`?\r\n"}}