Closed
Description
There will be a layout offset problem when using different languages for output.
The complete code is as follows.
from table2ascii import table2ascii as t2a
from table2ascii import PresetStyle
from table2ascii import Alignment
output = t2a(
header=["日期", "test"],
body=[["2022/12/11", "test"], ["2022/1/1", "測試"]],
cell_padding=5,
style=PresetStyle.double_thin_compact,
alignments=[Alignment.CENTER] * 2
)
print(output)
Is there any solution?