Menu

#128 combining unicode chars count in grid tables

closed-fixed
nobody
None
3
20 hours ago
2010-01-05
No

Combining unicode chars in headings and simple grid tables lead to warnings and errors, as they contribute to the string lenght.

Related

Bugs: #512

Discussion

  • Günter Milde

    Günter Milde - 2010-01-05

    test case (tables and headings with combining chars)

     
  • Günter Milde

    Günter Milde - 2010-11-10

    Fixed for section headings.

    The fix for tables is nontrivial, as both stringlist.get_2D_block() in statemachine.py and
    SimpleTableParser.check_columns() in tableparser.py must be made to account for
    zero-width combining chars.

     
  • Günter Milde

    Günter Milde - 2010-11-10
    • priority: 5 --> 4
     
  • Günter Milde

    Günter Milde - 2011-11-25

    Fixed for headings and simple tables.
    Fixing grid tables is an open task. Tools are in docutils.utils
    but the grid table parser is rather complex.

     
  • Günter Milde

    Günter Milde - 2011-11-25
    • priority: 4 --> 3
    • summary: combining unicode chars count in text lenght --> combining unicode chars count in grid tables
     
  • Edward d'Auvergne

    +1

     
  • Edward d'Auvergne

    That was me adding weight, as the SF voting buttons are not visible for docutils tickets for non-members.

     
  • Adam  Turner

    Adam Turner - 2022-05-30

    Cannot reproduce on latest master, I believe Python 3's native unicode handling makes this a non-issue.

    A

     
  • Günter Milde

    Günter Milde - 2022-05-30

    This is fixed for headings and simple tables but still fails for grid tables (not tested in the original test sample). The new sample fails here.

     
  • Günter Milde

    Günter Milde - 2025-09-17

    Even when adjusting the grid, the parser goes wrong. See [bugs:#512].

     

    Related

    Bugs: #512


    Last edit: Günter Milde 2025-09-21
  • Günter Milde

    Günter Milde - 2025-09-22
    • status: open --> open-fixed
     
  • Günter Milde

    Günter Milde - 2025-09-22

    Fixed, now also for grid tables, in [r10251].

     

    Related

    Commit: [r10251]

  • Günter Milde

    Günter Milde - 20 hours ago
    • status: open-fixed --> closed-fixed
     
  • Günter Milde

    Günter Milde - 20 hours ago

    Fixed in Docutils 0.22.3.

     

Log in to post a comment.