Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non Ascii Issues #79

Open
leostat opened this issue Jun 21, 2017 · 1 comment
Open

Non Ascii Issues #79

leostat opened this issue Jun 21, 2017 · 1 comment

Comments

@leostat
Copy link
Owner

leostat commented Jun 21, 2017

Traceback (most recent call last):
  File "./rtfm.py", line 755, in <module>
    run()
  File "./rtfm.py", line 132, in run
    Search(conn, sqlcmd, sqltpl, sqllst)
  File "./rtfm.py", line 154, in Search
    PrintThing(cmd)
  File "./rtfm.py", line 584, in PrintThing
    print table.table
  File "/usr/local/lib/python2.7/dist-packages/terminaltables/base_table.py", line 216, in table
    dimensions = max_dimensions(self.table_data, self.padding_left, self.padding_right)[:3]
  File "/usr/local/lib/python2.7/dist-packages/terminaltables/width_and_alignment.py", line 107, in max_dimensions
    inner_widths[i] = max(inner_widths[i], *[visible_width(l) for l in cell.splitlines()])
  File "/usr/local/lib/python2.7/dist-packages/terminaltables/width_and_alignment.py", line 28, in visible_width
    string = string.decode('u8')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 94-95: unexpected end of data

caused by : https://github.com/aemkei/katakana.js

@g33k247
Copy link

g33k247 commented Mar 3, 2024

Unable to have pretty output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants