3
votes
2answers
2k views

UTF-8 locale portability (and ssh)

I spend a lot of my time sshed into various machines, all of which are different (some are embedded, some run Linux, some run BSD, &c.). On my own local machines, however, i use OS X, which of ...
1
vote
2answers
105 views

What locale does VIM use for sorting and regular expressions?

Suppose I have a file with the following content: c C b B a A When I do :%sort, I get the following result: A B C a b c When I do :%!sort (note the '!'), I get a A b B c C I get the same ...
0
votes
1answer
947 views

Set up Putty and Server to only use UTF-8

I am trying to only use UTF-8 for anything (Client on Win7 64 bit, servers Debian 64bit, su rights for everything). On Stackoverflow I can find many solutions to fix vim for UTF-8 handling. I also ...
2
votes
2answers
1k views

How do I connect from a utf-8 client to a latin1 server over ssh?

I have a fresh Ubuntu install and I want to connect over ssh in a gnome-terminal. The server uses latin1 (All files etc. are latin1), so I want to use that in the session. I have changed the charset ...
2
votes
2answers
4k views

How to use UTF-8 in vim on Mac OS X?

I want to edit UTF-8 documents with vim (7.2 installed via MacPorts, big feautre set, iconv support enabled, multi-byte support enabled) on Mac OS X 10.4 within terminal.app. Terminal.app is ...