Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure that the error message encoded is in utf8 #1906

Merged
merged 1 commit into from
Jul 21, 2016

Conversation

josenavas
Copy link
Contributor

While helping a user in Qiita I found that if a sample information file contained non-utf8 characters, it will break the communication between the ipython workers and the main server. This PR makes sure that the error message is a utf8 valid string, by replacing the non-utf8 characters with the official U+FFFD REPLACEMENT CHARACTER, as seen below:

screen shot 2016-07-20 at 2 45 37 pm

@antgonza
Copy link
Member

Tests passed locally, merging due to restart.

@antgonza antgonza merged commit 4b632dd into qiita-spots:master Jul 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants