Commit graph

5 commits

Author SHA1 Message Date
tailhook
752e3d1b78 Implemented encoding for strings
* Packer by default uses `utf-8` encoding by default
* Unpacker uses `None` by default, so no decoding is done
* Both pack and unpack has `encoding` and `unicode_errors` arguments,
  if `encoding` is `None` no encoding/decoding is done, otherwise
  it is python codec. `unicode_errors` is supplied as `errors`
  parameter to codec
2011-04-15 18:39:17 +03:00
INADA Naoki
2c9fddf085 python: Port some tests from 2 to 3. 2010-11-03 03:15:12 +09:00
INADA Naoki
c355f224dc Add test for Python3. 2010-10-26 01:31:27 +09:00
INADA Naoki
4e3c620d36 Fix testcase for unicode. 2010-10-07 03:04:00 +09:00
INADA Naoki
039542ebcb python: Add test for python3 and fix found problems. 2010-09-02 02:16:28 +09:00