Skip to content

Instantly share code, notes, and snippets.

@yamatt
Created June 18, 2013 15:41
Show Gist options
  • Save yamatt/5806454 to your computer and use it in GitHub Desktop.
Save yamatt/5806454 to your computer and use it in GitHub Desktop.
# -*- coding: UTF-8 -*-
a = u"£"
print a
# this one works
python unicodetest.py
# this fails
python unicodetest.py > output.txt
@yamatt
Copy link
Author

yamatt commented Jun 18, 2013

I assume this is a bash issue but it's screwing with my head

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment