The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
chinese problem jack_ty_chan UNIX for Dummies Questions & Answers 0 06-21-2006 08:31 PM
lex for Chinese character suman_jakkula Linux 0 03-15-2006 10:23 PM
Chinese characters on Sol 2.7 Hayez SUN Solaris 1 01-29-2006 09:34 PM
Printing Chinese postscript file Albert J. UNIX for Dummies Questions & Answers 0 05-19-2005 08:33 PM
Printing chinese from solaris 9 MizzGail UNIX for Dummies Questions & Answers 1 05-19-2005 09:18 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-23-2007
Registered User
 

Join Date: Nov 2006
Posts: 16
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Chinese characters in Vi editor

Dear All,

I have excel files containing Chinese characters. I have a requirement to display the contents of both the English and the Chinese files in the Unix box using the vi editor. But I when I try to open the Chinese files, the characters are junk. Can one of you help me in getting rid of this problem?

Regards,
Antony
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-23-2007
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,375
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
On my Linux system, there is no problem with vim in xterm. But I have not had any luck with nvi.

Are you opening vi from a terminal in an X-Windows environment? Other mechanisms of displaying Chinese characters such as on framebuffered virtual consoles are mostly crippled here and there IMO.
Reply With Quote
  #3 (permalink)  
Old 01-28-2007
Registered User
 

Join Date: Nov 2006
Posts: 16
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Could one of you confirm if this is possible in vi or not? If not I need to check for alternate option to view the Chinese characters from the linux box.
Reply With Quote
  #4 (permalink)  
Old 01-28-2007
Supporter
 

Join Date: Jul 2006
Posts: 156
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
This is possible. My vi editor has no problem displaying the Chinese characters.
Please answer the above question, are you using the X-Windows environment?
Reply With Quote
  #5 (permalink)  
Old 01-29-2007
Registered User
 

Join Date: Nov 2006
Posts: 16
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Yes I am using Xmanager2 software.

The actual content:

4|纽约名称 |Chinese|EOF
5|Nyの名前 |Japanese|EOF

Content displayed in vi:

Tðy |Chinese|EOF
TMR |Japanese|EOF

Please let know if there are specific settings that need to be done.

Regards,
Antony
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 06:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102