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.
\- |