LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-08-2003, 08:33 AM   #1
George2
Member
 
Registered: Oct 2003
Posts: 354

Rep: Reputation: 30
Unhappy HOw to add a special charset support to Red Hat Linux?


Hello, everyone!


I want to add a special charset support to Red Hat Linux 7.3. For example, GBK and GB2312 charset. I also want to know how to verify whether the charset support has been successfully supported.

BTW: I want to add charset support to Linux operation system and not a special application under Linux.



Best regards,
Geo
 
Old 12-08-2003, 08:57 AM   #2
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381

Rep: Reputation: 31
you need to set your "locale" environment variables.

NLSPATH=/usr/share/locale/%l/%N
LANG=es_ES
LANGUAGE=es_ES:es
LC_ADDRESS=es_ES
LC_COLLATE=es_ES
LC_CTYPE=es_ES
LC_IDENTIFICATION=es_ES
LC_MEASUREMENT=es_ES
LC_MESSAGES=es_ES
LC_MONETARY=es_ES
LC_NAME=es_ES
LC_NUMERIC=es_ES
LC_PAPER=es_ES
LC_TELEPHONE=es_ES
LC_TIME=es_ES

These are defined in:
These differ from distro to distro.
Check your:
/etc/profile
/etc/bashrc
/etc/bash_profile

/home/username/.bashrc
/home/username/.bash_profile
/home/username/.profile
 
Old 12-08-2003, 10:29 PM   #3
George2
Member
 
Registered: Oct 2003
Posts: 354

Original Poster
Rep: Reputation: 30
Unhappy

Thanks, pablob buddy!

I have two questions about your reply,

1. What means "%l" and "%N" in your reply?
2. I think I should replace "es_ES" with the proper value which stands for the charset I want to support. Am I correct? But how can I find the value which stands for the charset I want to support? Are the some constants tables I can use?


Best regards,
Geo
Quote:
Originally posted by pablob
you need to set your "locale" environment variables.

NLSPATH=/usr/share/locale/%l/%N
LANG=es_ES
LANGUAGE=es_ES:es
LC_ADDRESS=es_ES
LC_COLLATE=es_ES
LC_CTYPE=es_ES
LC_IDENTIFICATION=es_ES
LC_MEASUREMENT=es_ES
LC_MESSAGES=es_ES
LC_MONETARY=es_ES
LC_NAME=es_ES
LC_NUMERIC=es_ES
LC_PAPER=es_ES
LC_TELEPHONE=es_ES
LC_TIME=es_ES

These are defined in:
These differ from distro to distro.
Check your:
/etc/profile
/etc/bashrc
/etc/bash_profile

/home/username/.bashrc
/home/username/.bash_profile
/home/username/.profile
 
Old 12-12-2003, 03:01 PM   #4
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381

Rep: Reputation: 31
well, it means "language" and "nation" (more or less)

so, maybe you should try looking under /usr/share/locale, to see if there's a directory matching your needs.

And 2.- You are right.

es_ES is for spanish and spain
en_GB .... you know what for.
 
Old 12-13-2003, 12:00 AM   #5
George2
Member
 
Registered: Oct 2003
Posts: 354

Original Poster
Rep: Reputation: 30
Thanks, pablob buddy!

You are a real specialist!!

Geo
 
Old 12-13-2003, 04:49 AM   #6
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381

Rep: Reputation: 31
not so much.
I just have the luck to be paid for doing these kind of things from Monday to Friday.
 
Old 12-13-2003, 06:19 AM   #7
George2
Member
 
Registered: Oct 2003
Posts: 354

Original Poster
Rep: Reputation: 30
Thanks, pablob buddy!


I have a similar question,
http://www.linuxquestions.org/questi...hreadid=125417

Can you help?


Best regards,
Geo
 
  


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
How do you add a window manger to red hat 9? Thaidog Linux - General 2 11-13-2005 08:41 PM
How to add perssitent route in Red Hat 9? dwarf007 Linux - Networking 10 09-26-2005 08:21 AM
add a lib to php in Red Hat 9 omelin Red Hat 2 08-10-2004 08:12 PM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 06:33 PM
Red Hat 7.2... & a modem with Red Hat 7.1 driver support rahduku Linux - Distributions 1 02-14-2002 11:49 AM


All times are GMT -5. The time now is 11:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration