ac455dc273
We use string formatter to contruct serialization result. The template used is str(byte) in python2 even though when the val is unicode. This is fine when val only contains ASCII chars since python can encode them to str implicitly using ASCII encoding. But when the val is non-ASCII unicodes, the conversion fails. Fix it by using a unicode template to avoid the conversion. |
||
---|---|---|
.. | ||
__init__.py | ||
Cache.py | ||
CoreTypes.py | ||
Differ.py | ||
DynamicTypeManagerHelper.py | ||
EamObjects.py | ||
Iso8601.py | ||
ManagedMethodExecutorHelper.py | ||
PbmObjects.py | ||
pyVmomiSettings.py | ||
QueryTypes.py | ||
ServerObjects.py | ||
SmsObjects.py | ||
SoapAdapter.py | ||
StubAdapterAccessorImpl.py | ||
Version.py | ||
VmomiSupport.py |