Unicode bug when using Python 2 and a unicode quote character in a csv-table
"Philipp A." <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <CAN8d9gnAdgERtfQKGr2dMHeK8mj170xr4DXeDzjZ9NQaL2Q3FA@mail.gmail.com> |
Title explains it. Test case:
~~~
.. csv-table:: foobar
:quote: ÷
irrelevant
~~~
the bug is in parsers/rst/directives/tables.py, line 177:
self.quotechar = str(options['quote'])
when using python2, this causes python to try and decode it with the ASCII
codec, which fails.
if anyone tries to fix this, please look for similar instances to fix.
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk