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
Some Unicode issues... #9
Comments
Very interesting. This doesn't throw an error on my machine but the ± character is printed incorrectly. What version of Python are you using? |
Python 2.7.2 on Mac. And, I see it only happens when running the shell inside Emacs. From a normal terminal, it prints the correct char plus some extra junk. Emacs supports Unicode just fine, but I guess the shell connection has some problems, or presents the wrong kind of stream to Python. |
This is fixed by #18, at least in my terminal. |
# This is the 1st commit message: move from print_err to logging # This is the commit message #2: change sanity check message # This is the commit message #3: flake8 linting # This is the commit message #4: flake8 linting # This is the commit message #5: pylint updates # This is the commit message #6: pylint updates # This is the commit message #7: pylint updates for errors.py # This is the commit message #8: update changes from #344 # This is the commit message #9: update formatting # This is the commit message #10: update formatting # This is the commit message #11: add consuructor to class # This is the commit message #12: refactor logging levels and messages # This is the commit message #13: refactor logging levels and messages # This is the commit message #14: pylint recomendations # This is the commit message #15: flake8 formating # This is the commit message #16: flake8 formating # This is the commit message #17: change logging to print
bash-4.2$ howdoi make a log scale d3
Traceback (most recent call last):
File "/usr/local/bin/howdoi", line 8, in
load_entry_point('howdoi==0.2', 'console_scripts', 'howdoi')()
File "build/bdist.macosx-10.8-intel/egg/howdoi/howdoi.py", line 93, in command_line_runner
File "build/bdist.macosx-10.8-intel/egg/howdoi/howdoi.py", line 81, in howdoi
UnicodeEncodeError: 'ascii' codec can't encode characters in position 195-196: ordinal not in range(128)
I think this is because the source page has a ± character in it.
http://stackoverflow.com/questions/11924335/horizon-chart-not-visible-when-using-d3-scale-log
The text was updated successfully, but these errors were encountered: