Visit Jeremy's Blog.
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 01-04-2010, 03:22 AM   #1
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55

Hi all...

I am trying to do Multi_key composition...But not able to find which is my character encoding scheme under /usr/share/X11/locale/

I have several direcotries under this folder...How can i come to kno which is my character encoding scheme..Any command for this ?

Any help will be greatly appreciated...

Thanks in advance...
Old 01-04-2010, 01:18 PM   #2
Senior Member
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
I'm not really sure, but in, different character sets can be selected by Menu File - Save As, File type Text Encoded selected (or, if wishing to change the encoding of an already existing file: Menu File - Open, File type Text Encoded selected.)

The default character set for Linux is iso_8859_1. However, other character sets are likely in place on your machine as well. If you're using x-windows, rather than the command line, then the command "xlsfonts" will list all the fonts (there are a lot of them) and tell you which character set is in play with any particular font on your machine. So, to find out which character scheme is in place with a particular font you're using -- for example, if you're using and have chosen Liberation Serif, then enter the following command in a terminal (like xterm) to get the information about your current character encoding scheme being used:
mark@debian:~$ xlsfonts *liberation*
In this case, it is using the default. If you're using an outside font, such as Verdana (which is a biggie), there may be different character sets (why, exactly, I don't know):
mark@debian:~$ xlsfonts *verdana*
To display the characters in an x-font, use the xfd tool (aka x font display). For instance, if you've been using Liberation Serif, regular normal text, then after having determined the exact font name via xlsfonts (see above), you can get a display of its characters via the xfd command:
xfd -fn '-ascender-liberation.serif-medium-r-normal--0-0-0-0-p-0-iso8859-1'
This will cause a box to pop up that will display the characters in the font for you.

To select a font name from all the fonts on your system, the command "xfontsel" can be used. After using this to determine which font you desire (and its accompanying character set) I think you could then use the aforementioned procedure for applying the different character set(s) to your document (useful if the desired character set or font is not listed in OOo's default font choices).

Last edited by mark_alfred; 01-04-2010 at 05:56 PM. Reason: forgot a closing bracket


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
/usr/share/locale jhwilliams Fedora 2 11-22-2007 05:15 PM
Why were the /usr/X11 directories removed in 12.0? PeteRossi Slackware 2 07-16-2007 04:26 PM
Help : X11 Locale Not Supported pokkie Linux - Software 1 08-02-2004 10:43 AM
no locale.h in my /usr/inclide/ why ?? Joe_Zhu Debian 4 01-07-2004 10:34 PM
/usr/share/locale chrismiceli Linux - General 1 08-09-2003 10:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 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
Open Source Consulting | Domain Registration