Skip to content

Instantly share code, notes, and snippets.

@nickleefly
Created January 26, 2013 08:54
Show Gist options
  • Save nickleefly/4641161 to your computer and use it in GitHub Desktop.
Save nickleefly/4641161 to your computer and use it in GitHub Desktop.
python encoding
> chcp 65001
> set PYTHONIOENCODING=utf-8
> python example.py
Encoding is utf-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment