Re: [OxLUG] more desktop linux hassle

Top Page
Delete this message
Reply to this message
Author: Jonathan McDowell
Date:  
To: oxlug
Subject: Re: [OxLUG] more desktop linux hassle
On Tue, Jun 24, 2008 at 09:43:07AM +0100, Greg Matthews wrote:
> Interestingly, the txt doc I was editing yesterday shows £ when using
> vim but some unprintable char when I cat it in the terminal -
> presumably it is not utf8 but vim compensates for it.


:set fileencoding

will show you what it thinks the character set is and

:set fileencoding=utf-8

will change the file to be in utf-8 if you so wish.

J.

-- 
/-\                             | 101 things you can't have too much
|@/  Debian GNU/Linux Developer |          of : 21 - Uptime.
\-                              |