bwhite/hadoopy — Issue #43: Unicode encoding to ASCII error
Author: bwhite
Created: 2011-12-22 03:40:03+00:00
State: open

When using unicode such as
a = u'\xe9'
str(a)

it will produce a unicode error. This same error occurs when the unicode is emitted because the default encoding is used to encode the string which is likely ascii. We could 1.) leave it and assume the string has been encoded in a proper way or 2.) force utf-8.