JakeWharton/flip-tables

Strange characters for the table border

Opened this issue · 2 comments

I noticed that from time to time, there are some unidentified characters, printed out as ��� in my Eclipse IDE (4.7.3a) console output which runs on my Debian.

Sometimes, it's 3 of that chars, or sometimes it's 2 only, most of the time, there are none of them. It's totally random.

These unknown characters pushes the border out of sync for that particular line.

Those are the replacement character which occurs when there's malformed encoding (presumably of UTF-8). I don't think we take into account printable vs. non-printable characters which is why it screws up the counts.

I get strange output like this in Windows cmd
image

Seems to be ok if opened in Sublime or Notepad.