LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Editing unicode text files.

[ILUG] Editing unicode text files.

Kae Verens kae at verens.com
Sat Feb 17 15:22:40 GMT 2007


Aine Douglas wrote:
>
>>  Editors that can handle the full UCS/Unicode in a variety
>>  of encodings include vim(1), mined, and yudit.  Some other
>>  editors, such as joe(1), handle UTF-8 but not necessarily
>>  an arbitrary encoding.
>
> On my shell account, I have vim and joe, both render garbage. Will get
> mined and yudit later and test.
>
vim is usually quite good about that - as long as the console can 
display the characters, it should work okay. I just opened up the 
Russian language file for KFM in vi and vim, and both worked fine. This 
was in Konsole; KDE's terminal emulator. I have had trouble with 
charsets in xterm and many other terms, so make sure that's not a 
problem first.

Also, UTF-8 files, which I presume you're talking about, usually start 
with a single marker character to distinguish them from 
otherwise-plain-text files. If that marker character is missing, vim may 
not be figuring out the charset correctly.

Kae




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell