TabViewer / tabview

Python curses command line CSV and tabular data viewer
Other
460 stars 49 forks source link

no utf-8 in remote shell #156

Open siulkilulki opened 6 years ago

siulkilulki commented 6 years ago

I have correctly displayed utf-8 characters locally, but not in remote shell (over ssh). less is correctly displaying utf-8 characters in remote shell, so I guess it's the problem with tabview.

Any ideas?

firecat53 commented 6 years ago

You'll have to provide more specifics as to what environment (distro, shell(s), tabview version, language, keyboard layout) you are working in and a sample file. Using the files in the tabview source samples/ directory, it works fine for me (no differences) via SSH : both Arch->Arch and Arch->Ubuntu 16.04.

I suspect an issue with your environment rather than a tabview issue.

siulkilulki commented 6 years ago

I have tried following measures in link without success.

Remote machine specs distro: Ubuntu 16.04.4 LTS shell: /bin/bash tabview version: tabview-1.4.3-py2.py3-none-any.w System Locale: LANG=en_US.UTF-8 VC Keymap: n/a X11 Layout: us X11 Model: pc105

X11 Forwarding is not working for me, but it probably doesn't matter. My locale on remote machine: LANG=en_US.UTF-8 LANGUAGE=en_US: LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 Here link is tabview result from sample file. Result from less link

firecat53 commented 6 years ago

How about your local terminal environment? There may be a mismatch between what the program in the remote environment is using and the actual encoding of your local terminal. Not gonna lie...this stuff still baffles me sometimes...

Can you also try running tabview using python 3 if you aren't already?

siulkilulki commented 6 years ago

I will check it on Monday. Thanks for hints.

On Fri, Mar 16, 2018, 18:20 Scott Hansen notifications@github.com wrote:

How about your local terminal environment? There may be a mismatch between what the program in the remote environment is using and the actual encoding of your local terminal. Not gonna lie...this stuff still baffles me sometimes...

Can you also try running tabview using python 3 if you aren't already?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/TabViewer/tabview/issues/156#issuecomment-373784476, or mute the thread https://github.com/notifications/unsubscribe-auth/AJGOvGd830E2w0e8YukHie-kZL9hnS5aks5te_RKgaJpZM4Smdzl .

firecat53 commented 6 years ago

Any luck with this?