Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#249 Using a unicode character as quote in a CSV table fails

sandbox
closed-wont-fix
nobody
None
5
2014-03-20
2014-03-11
flying sheep
No

…because it gets encoded to a multiple-byte bytestring.

only occurs on python2 afaik, and idk id it’s fixable without using a different CSV reader module.

test case:

.. csv-table:: foo
    :quote: ·

    irrelevant

Discussion

  • Günter Milde
    Günter Milde
    2014-03-20

    • status: open --> closed-wont-fix
     
  • Günter Milde
    Günter Milde
    2014-03-20

    Thank you for the report.

    Fixing this for Python 2 would require ugly hacks and workarounds.
    The limitation is now documented and the error-reoporting improved.

    Users intending to use non-ASCII quote, delimiter, or escape characters for CSV-tables are advised to switch to Python 3.

     
  • flying sheep
    flying sheep
    2014-03-20

    users like github :)

    i’ll continue to bug them, then.