Encoding issues due to missing locale settings #373
Replies: 1 comment 2 replies
-
|
Hi! Thank you for your message! 🙂 This is valuable information to me, as it makes me learn about how the default shells of this plugin behave. I'm not very familiar with Zsh, and I don't have macOS, so I can't really do much testing. However, I guess that this happens because when using the normal shells built into the SC plugin, Node.js's Perhaps you could try to solve this problem by creating a custom shell configuration for Zsh that includes the
Please let me know if this solved tthe problem or not, or if you have any other questions. 👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The shell environment (at least with Zsh under MacOS) does not define the
LC_CTYPEenvironment variable which is usually set automatically by the system. Also, thelocale LC_CTYPEreturns a very basicUS-ASCII. This is causing, for example, encoding issues when copying a text with characters outside of this character set to the clipboard withpbcopy.The problem can be seen by creating a shell command
echo $LC_CTYPE ; locale LC_CTYPEwhich produces the following output on my system:In a normal shell environment, this command produces this output on my system:
Beta Was this translation helpful? Give feedback.
All reactions