LinuxQuestions.org
Review your favorite Linux distribution.
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, 10:18 PM   #1
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS 6.4, FEDORA 18 x64, Linux Mint 15 x64
Posts: 57

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, 11:16 PM   #2
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 219Reputation: 219Reputation: 219
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 11:17 PM.
 
Old 08-24-2009, 02:52 AM   #3
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS 6.4, FEDORA 18 x64, Linux Mint 15 x64
Posts: 57

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:17 PM
Unicode banajah Linux - General 1 04-25-2006 01:04 AM
Unicode kalleanka General 2 03-03-2006 05:58 PM
Unicode ?? Help 80s Debian 1 11-02-2003 08:27 AM
RH 8 and UNICODE rafabgood Linux - Software 4 12-10-2002 05:09 AM


All times are GMT -5. The time now is 12:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration