python-tabulate icon indicating copy to clipboard operation
python-tabulate copied to clipboard

Latin-1.3 chars not taken into consideration while claculation the right border position

Open Marek-Cichowski opened this issue 5 months ago • 16 comments

Hi,

we love your "tabulate" library which we use for more structured log displays :-)

  • At this place I'd like to report a small flaw.
  • If using Latin-1.3 chars (European special chars for names) the boundary calculation is not quite working see below
Image
  • Issue is resulting from the fact the Latin-1.3 chars can be 1, 2 or even 3 bytes long, which is causing the right margin being not aligned.
  • For sure it is just a "cosmetic" issue, but you have introduced 'tabulate' for its "logging beauty", so I do hope for your consideration.

Best regard

Marek

Marek-Cichowski avatar Sep 12 '25 16:09 Marek-Cichowski