Re: [sqlite] [Bug] Non-ASCII character is not counted in calculating column width

2017-06-02 Thread Yuriy M. Kaminskiy
yum...@gmail.com (Yuriy M. Kaminskiy) writes: > Jacob Pratt writes: > >> Using .width x along with .mode columns, any non-ASCII character isn't >> counted, causing the column to shrink by one. >> >> I *think* my analysis is correct, but it also might be counted multiple >>

Re: [sqlite] [Bug] Non-ASCII character is not counted in calculating column width

2017-06-02 Thread Yuriy M. Kaminskiy
Jacob Pratt writes: > Using .width x along with .mode columns, any non-ASCII character isn't > counted, causing the column to shrink by one. > > I *think* my analysis is correct, but it also might be counted multiple > times by taking a naïve approach and just counting the

[sqlite] [Bug] Non-ASCII character is not counted in calculating column width

2017-05-28 Thread Jacob Pratt
Using .width x along with .mode columns, any non-ASCII character isn't counted, causing the column to shrink by one. I *think* my analysis is correct, but it also might be counted multiple times by taking a naïve approach and just counting the number of bytes (UTF-8 has multi-byte characters).