Closed haptear closed 2 years ago
@minhhungit Because there are UTF8 characters, the output of Console is correct
I actually also worry about the problem when user just want to show table as text, for example they put the table into an email. Is there a way we can handle both cases @haptear
Anyway, thanks for the PR
Do you think we should have a toogle to turn on/off it
yes a toogle switch to print to console or print to file
@haptear it will be great if you can implement that feature please, I will merge this PR after that.
I'm sorry I'm quite busy these days so I greatly appreciate your help. Many thanks
@minhhungit ok i will finish the feature
@minhhungit
I have tested the whole thing and it's not a code problem, it's a font selection problem.
If you set a monospaced font, the display format is correct.
not monospaced font UTF8 character and Uppercase character will cause the display format is not correct.
font with 'Arial'
font with 'Consolas' the monospaced font
font with 'Arial' have Uppercase character
font with 'Consolas' have Uppercase character
My VS environment font is not set to 'Consolas', the format is correct;
So do we still need a toggle to turn on/off utf8/unicode mode @haptear ?
Not anymore
If anyone need to send emails, please use the HTML template to send. The formatting is correct, because HTML is monospaced font by default.
thanks @haptear
Can you please check why these rows are skewed