You are not logged in.
Hi,
I don't use an utf8 locale, but some files (like latex sources of my reports) are in utf8 for compatibility with other pcs. Since a while, but i cannot recall exactly when (normally, I don't use vi for latex), it doesn't display correctly such files. Emacs does, kate does, but not vim. I tried to set encoding and file-encoding in vim, but it didn't fix the issue. Any clue? Is vim broken?
Related question. It is safe to switch to utf8 locale (I mean, in rc.conf) months after the installation?
domanov
Offline
:set enc=utf8
???
Offline
:set enc=utf8
It didn't work (as i said in my previous post).
I changed from it_IT@EURO to it_IT.UTF8 in rc.conf, restarted and now vim is fine (the corresponding line in locale.gen was already uncommented and I rerun locale-gen just to be sure). Now man pages are really ugly, even worse if I erase the option -Tlatin1 from NROF line in man.conf (as suggested in the man.conf manual). Ok, let's deal with that, now.
Do I risk to broke anything more important? Shall i convert to utf-8 all the text files in /home, /etc and so on??
Offline
I don't think so. And vim will not change your file's original encoding, unless you tell it to of course.
Offline