Maik Hoepfel
c06e1df76c
Python 3 fixes caught by python-modernize
python-modernize (https://github.com/mitsuhiko/python-modernize ) is a
useful wrapper around 2to3 which comes with sane defaults.
The fixes below were generated by running
python-modernize --compat-unicode -w .
and then fixing all lint errors.
12 years ago
Xavier Ordoquy
dc960d1313
Fixed a typo about warnings import.
12 years ago
Xavier Ordoquy
2d078b2813
Fixed the calls to unicode.
12 years ago
Xavier Ordoquy
c15bfd7d34
Use six for strings / unicodes / bytes
12 years ago
Xavier Ordoquy
d6c9918d62
Use six fro strings / unicodes / bytes
12 years ago
Xavier Ordoquy
40982c5b45
Fixed the StringIO call
12 years ago
David Winterbottom
41448b034e
Remove BOM from CSV writer
It was causing problems with Excel, which didn't recognise it and showed
a strange symbol. I can't find a compelling reason to keep it, so it
goes.
12 years ago
Skirmantas Jurgaitis
739dd1c9d2
Fixed github issue #624: UnicodeDecodeError when exporting orders as CSV
13 years ago
David Winterbottom
7355d5a224
Extend report CSV writer to support utf-8
Using example classes from http://docs.python.org/2/library/csv.html#examples
Fixes #390
13 years ago