-
Notifications
You must be signed in to change notification settings - Fork 12
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
Playback fails when file includes non-ASCII characters #5
Comments
I tried adding © to a file and wasn't able to trigger an exception. What do you get when you run |
Same problem. Is this intended to be used with Python 2.x or only Python 3+? I wonder if that might be the root of the issue. (OS X still ships 2.7.x as system Python.) Shell transcript for reference:
|
Yup, looks like I 2 vs 3 issue. I used Does pip allow to set a minimum Python version requirement? |
Looks like the |
Actually I've been running # -*- coding: utf-8 -*-
import curses
import time
def function(window):
window.addstr(0, 0, '©')
window.refresh()
time.sleep(10)
curses.wrapper(function) |
Weird: That worked fine with 2.7.10. |
+1 |
I have a file whose default template-generated content includes the copyright circle-c symbol,
u'\xa9'
.Attempting to run
git playback file
leads to an exception:The text was updated successfully, but these errors were encountered: