{"action":"closed","issue":{"url":"https://api.github.com/repos/bcarlin/flask-scss/issues/14","labels_url":"https://api.github.com/repos/bcarlin/flask-scss/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/bcarlin/flask-scss/issues/14/comments","events_url":"https://api.github.com/repos/bcarlin/flask-scss/issues/14/events","html_url":"https://github.com/bcarlin/flask-scss/issues/14","id":65081618,"number":14,"title":"UTF-8 support","user":{"login":"devunion","id":1061496,"avatar_url":"https://avatars.githubusercontent.com/u/1061496?v=3","gravatar_id":"","url":"https://api.github.com/users/devunion","html_url":"https://github.com/devunion","followers_url":"https://api.github.com/users/devunion/followers","following_url":"https://api.github.com/users/devunion/following{/other_user}","gists_url":"https://api.github.com/users/devunion/gists{/gist_id}","starred_url":"https://api.github.com/users/devunion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devunion/subscriptions","organizations_url":"https://api.github.com/users/devunion/orgs","repos_url":"https://api.github.com/users/devunion/repos","events_url":"https://api.github.com/users/devunion/events{/privacy}","received_events_url":"https://api.github.com/users/devunion/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-29T17:49:36Z","updated_at":"2015-07-10T10:43:14Z","closed_at":"2015-07-10T10:43:14Z","body":"Hello, I've tried to use the extension with the last version of ZURB Foundation framework. But got the next error message:\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/flaskext/scss.py\", line 120, in update_scss\r\n    self.compile_scss(asset, dest_path)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flaskext/scss.py\", line 129, in compile_scss\r\n    fo.write(self.compiler(fi.read()))\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xbb' in position 186557: ordinal not in range(128)\r\n\r\nI've added the next changes in order to fix the problem:\r\n\r\n        with open(dest_path, 'w') as fo:\r\n            with open(asset) as fi:\r\n>>                fo.write(self.compiler(fi.read()).encode('utf-8'))\r\n\r\nNow it works for me without problems. I'm not 100% sure if this is the best way to fix the issue. Could you review it and update the plugin if necessary? \r\n\r\nThank you!"}}