The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google unix.com



UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to get xterm myura AIX 2 11-21-2007 09:32 PM
xterm legato UNIX for Dummies Questions & Answers 3 04-28-2005 10:09 PM
xterm help? douknownam Shell Programming and Scripting 1 12-10-2004 05:58 PM
xterm? Ivo UNIX for Dummies Questions & Answers 1 07-15-2002 11:14 AM
xterm af6 UNIX for Dummies Questions & Answers 1 05-31-2002 03:49 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-14-2008
siegfried siegfried is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 91
How to configure Xterm for UTF-8?

hmmm... I was not sure where to post this! I want emit non-ascii chinese and ciryllic text. I'm running windows server 2003 with cygwin xfree86.

I know I have one font that can render chinese and russian: "Arial Unicode MS".

How can I configure my cygwin xterm so I can emit russian and chinese?

Below is the response I got from the beginners perl group.
Thanks,
Siegfried

>> Can someone point me to an example of a little program that emits
>> non-ascii Unicode characters (Russian or Chinese perhaps)? The unicode
>> Russian/Cyrillic alphabet starts at 0x410.
>
>perl -wle '
> print qq[\x{410}];
>'
>
>(change all the ' to " if you shell needs that)
>
>Of course, your terminal needs to be in UTF8-mode and have access to the necessary fonts.
>
  #2 (permalink)  
Old 09-24-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
Arial is not really suitable for xterm because it wants a fixed-width font. On "real" X11 you can use xfontsel to find a suitable font; you want one which is fixed width and which uses the iso10646 registry but I don't know if you can find one which actually supports both Russian and Chinese glyphs. See also Marcus Kuhn's UTF8 FAQ at UTF-8 and Unicode FAQ
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0