On Mon, 2009-03-23 at 09:45 -0700, Jonathan Ellis (JIRA) wrote: > [ > https://issues.apache.org/jira/browse/THRIFT-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Jonathan Ellis updated THRIFT-395: > ---------------------------------- > > Attachment: python-utf8.patch > > This patch adds unicode support to the python bindings. Binary strings > continue to not be encoded/decoded (renamed to readBinary/writeBinary for > consistency w/ other Protocol implementations) and new write/read String > methods were added to support non-binary strings. > > There should be no backwards-compatibility problems. `binary` fields will > continue to work as before. `string` fields with ascii data will also > continue to work. The only difference is that you can now pass a unicode > object to a `string` field w/o it breaking.
OTOH: shouldn't the 'fastbinary' extension be changed accordingly? Nicolas
