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

no utf-8 in remote shell #156

Open
siulkilulki opened this issue Mar 12, 2018 · 5 comments
Open

no utf-8 in remote shell #156

siulkilulki opened this issue Mar 12, 2018 · 5 comments

Comments

@siulkilulki
Copy link

siulkilulki commented Mar 12, 2018

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?

@siulkilulki siulkilulki reopened this Mar 12, 2018
@siulkilulki siulkilulki changed the title no utf-8 no utf-8 in remote shell Mar 12, 2018
@firecat53
Copy link
Collaborator

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
Copy link
Author

siulkilulki commented Mar 13, 2018

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
Copy link
Collaborator

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
Copy link
Author

siulkilulki commented Mar 16, 2018 via email

@firecat53
Copy link
Collaborator

Any luck with this?

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