Menu

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

closed-wont-fix
nobody
None
5
2020-03-03
2014-03-11
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.

     

Log in to post a comment.