aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--youtube/proto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/proto.py b/youtube/proto.py
index 004375a..d966455 100644
--- a/youtube/proto.py
+++ b/youtube/proto.py
@@ -60,7 +60,7 @@ def unpadded_b64encode(data):
def as_bytes(value):
if isinstance(value, str):
- return value.encode('ascii')
+ return value.encode('utf-8')
return value