CentOS server bash encoding issue

Justin asked:

I think I’m having issues with bash character encoding. The machine is CentOS 6.2 on a rackspace cloud.

For anyone not familiar with npm those characters should be vertical and horizontal pipes/bars that display the plugin hierarchy as a tree.

screenshot

My answer:


Your remote server is using UTF-8 as its character set, as nearly all modern systems except Windows do, but neither Console2 nor msysgit support UTF-8 fully (or at all).

The solution, unfortunately, is going to be to replace one or both of these tools. In the case of msysgit, there is a UTF-8 capable fork available.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.