Make sure to encode to utf-8, not the default encoding
This allows text fields to take unicode strings under python 2.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
uInt64Field = 345678901234567890,
|
||||
float32Field = -1.25e-10,
|
||||
float64Field = 345,
|
||||
textField = "baz",
|
||||
textField = "\xe2\x98\x83",
|
||||
dataField = "qux",
|
||||
structField = (
|
||||
voidField = void,
|
||||
|
||||
Reference in New Issue
Block a user