help me to change the character set | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

help me to change the character set

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-17-2009
hosney00ux hosney00ux is offline
Registered User
 
Join Date: Jul 2009
Last Activity: 9 September 2009, 4:25 AM EDT
Location: Egypt
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
help me to change the character set

dears
i am using solaris 10
i am facing a problem when i make setup for solaris i choose the country egypt and i select the language north america
but i forget to do that the i found the date Jun written in arabic
i want to change character set to written in english

-rw-r--r-- 1 root root 5509351 Jun 1 18:40 file.gz
-rw-r--r-- 1 root root 76498 Jun 2 17:35 file_name1.txt
-rwxrwxrwx 1 root root 1438 Jun 15 04:57 file.sh

Last edited by hosney00ux; 08-17-2009 at 09:58 AM..
Sponsored Links
    #2  
Old 08-17-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 20 September 2014, 9:50 PM EDT
Location: NM
Posts: 10,211
Thanks: 278
Thanked 796 Times in 743 Posts
what does the output of this:

Code:
locale

show? the LC_TIME setting must be wrong. You can correct it with LC_TIME=C in your login .profile script.
Sponsored Links
    #3  
Old 08-17-2009
hosney00ux hosney00ux is offline
Registered User
 
Join Date: Jul 2009
Last Activity: 9 September 2009, 4:25 AM EDT
Location: Egypt
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
LC_TIME=C for date
and what about for this


TZ=America/Montreal
CMASK=022
LC_COLLATE=en_CA.ISO8859-1
LC_CTYPE=en_CA.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_CA.ISO8859-1
LC_NUMERIC=en_CA.ISO8859-1
LC_TIME=en_CA.ISO8859-1

i want to know what does every variable mean
but i don't know search for whats
TZ=America/Montreal
CMASK=022
LC_COLLATE=
LC_CTYPE=
LC_MESSAGES=
LC_MONETARY=
LC_NUMERIC=
LC_TIME=
    #4  
Old 08-17-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 20 September 2014, 9:50 PM EDT
Location: NM
Posts: 10,211
Thanks: 278
Thanked 796 Times in 743 Posts
TZ=America/Montreal TZ looks like a Solaris timezone setting - for Montreal CA
LC_COLLATE= collation (sort sequence) of alphabetic characters
LC_CTYPE=character classification and capitalization
LC_MESSAGES=message catalgoue - select language for messages
LC_MONETARY=format of money like British pound sign versus $ sign
LC_NUMERIC=radix character etc for numbers
LC_TIME=date & time - day & month names + whether Sunday or Monday is first day of week
LC_ALL- if you set this to one value ("en_CA.ISO8859-1" is a good choice to start) all of the above take on that value.

en_CA.ISO8859-1 == englsih candian with character set ISO8559-1 (latin charset)

try
Code:
<google> site:opengroup.org localedef

if you really want to know what is going on
with locale definitions.
Sponsored Links
    #5  
Old 08-18-2009
hosney00ux hosney00ux is offline
Registered User
 
Join Date: Jul 2009
Last Activity: 9 September 2009, 4:25 AM EDT
Location: Egypt
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
hi jim mcnamara
thanks alot for your time helping me
1- LC_TIME i change this variable and every thing working good
2- for your explain locale variable
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Grep: is it possibile to change the eol character ? nicofari64 UNIX for Dummies Questions & Answers 5 02-18-2009 03:03 AM
How to change a specific character in a file sdubey Shell Programming and Scripting 6 02-22-2008 02:30 PM
how to change every 3rd character manas_ranjan Shell Programming and Scripting 2 12-15-2007 05:18 AM
Vi single character change Brett Taylor Shell Programming and Scripting 6 08-30-2006 02:07 PM
change character case ajaya UNIX for Dummies Questions & Answers 3 03-23-2006 02:22 PM



All times are GMT -4. The time now is 04:05 AM.