Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-23-2009, 10:18 PM   #1
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 ?

Old 08-23-2009, 11:16 PM   #2
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 219Reputation: 219Reputation: 219
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
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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:52 PM.

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