LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2009, 09:18 PM   #1
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS - FEDORA
Posts: 59

Rep: Reputation: 15
vi and unicode


How to read unicode text file with vi ?

Is there and alternative to read unicode text file from the shell ?

Thanks
 
Old 08-23-2009, 10:16 PM   #2
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 221Reputation: 221Reputation: 221
From http://hektor.umcs.lublin.pl/~mikosm...-unicode.html:
Code:
In order to tell applications to use UTF-8 encoding, and 
assuming U.S. English is your preferred language, you could
use the following command:

export LC_ALL=en_US.UTF-8

Applications started afterwards from the same terminal
window should be aware of UTF-8.

Last edited by foodown; 08-23-2009 at 10:17 PM.
 
Old 08-24-2009, 01:52 AM   #3
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS - FEDORA
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks foodown, it's work now
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with unicode. thekillerbean Linux - General 1 02-16-2007 01:17 PM
Unicode banajah Linux - General 1 04-25-2006 12:04 AM
Unicode kalleanka General 2 03-03-2006 04:58 PM
Unicode ?? Help 80s Debian 1 11-02-2003 07:27 AM
RH 8 and UNICODE rafabgood Linux - Software 4 12-10-2002 04:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration