Skip to content

Conversation

@ms-jpq
Copy link
Contributor

@ms-jpq ms-jpq commented Apr 25, 2020

From the old PR here:
#47

we still have issues with localization, mainly that LC_ALL is a commonly exported env variable, and it overwrites LANG.

turns out if you have both variables set (very common), this PR #46 still does not fix the issue

I have attached a photo below that shows the difference

图片

@casperdcl casperdcl self-assigned this Apr 25, 2020
@casperdcl casperdcl added the bug label Apr 25, 2020
@casperdcl
Copy link
Collaborator

turns out if you have both variables set (very common), this PR #46 still does not fix the issue

Not sure I understand. You seem to be saying "if you have both variables set it's broken" but then this PR #50 sets both variables.

@ms-jpq
Copy link
Contributor Author

ms-jpq commented Apr 25, 2020

oh, I meant like,
LC_ALL has higher precedence than LANG, so if you have both set: LANG=C gets overwritten by LC_ALL=<something>, and thats why PR #46 by itself is insufficient.

We need to set LC_ALL inside the script to ensure parsing success

@casperdcl casperdcl merged commit f540f07 into tmux-plugins:master Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants