help me to change the character set

Thread Tools Search this Thread
Operating Systems Solaris help me to change the character set
# 1  
Old 08-17-2009
help me to change the character set

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

Last edited by hosney00ux; 08-17-2009 at 10:58 AM..
# 2  
Old 08-17-2009
what does the output of this:

show? the LC_TIME setting must be wrong. You can correct it with LC_TIME=C in your login .profile script.
# 3  
Old 08-17-2009
LC_TIME=C for date
and what about for this


i want to know what does every variable mean
but i don't know search for whats
# 4  
Old 08-17-2009
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)

<google> localedef

if you really want to know what is going on
with locale definitions.
# 5  
Old 08-18-2009
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Russian character set issue.

Hi All, I'm facing issue while opening xls file while contains Russian/Siberian character I tried various options which I could get from google but still issue persists hence thought of taking help here, We are trying to export data from Oracle via shell script using sqlplus utility. After... (8 Replies)
Discussion started by: arvindshukla81
8 Replies

2. Shell Programming and Scripting

How to set character limit on READ?

Hello, I created the following (snippet from larger code): echo -n "A1: " read A1 VERIFY=$(echo -n $A1|wc -c) if ; then echo -e "TOO MANY CHARACTERS" fi echo -n "A2: " read A2 echo -n "A3: " read A3 echo -e "Concat: $B1/$B2/$B3" Basically what it does is it... (4 Replies)
Discussion started by: jl487
4 Replies

3. UNIX for Dummies Questions & Answers

Character set problem

Hi, I'm trying to edit a file with vi, but all special characters ( etc) don't seem to show correctly. They don't seem to be supported by the OS (SunOS 5.10). I'm using MobaXterm as the terminal emulator, which is configured to use ISO-8859-1. The same charset is used on Solaris. If I open... (4 Replies)
Discussion started by: Subbeh
4 Replies

4. UNIX for Advanced & Expert Users

ASCII Character Set

I thought I would point this out. This has a lot of the non printing characters. ASCII Character Set (7 Replies)
Discussion started by: cokedude
7 Replies

5. Shell Programming and Scripting

Unix character set problem

Hi All, We are getting file into our unix box with multibyte characters. When we tried to view the file the record looks like this Frédéric Actually the data sent to us is Frdric --> my locale charmap of unix is set to UTF8 only ... but still i am getting this problem. I... (6 Replies)
Discussion started by: sandeeppvk
6 Replies

6. Programming

character set conversion in unix C

Hi, Could anybody explain how to change the character set of a particular string in C in unix. we are using HP-UX as OS. We require to change the input string which is in cp1250 format to utf-8. A sample code would help. Thnx in advance (1 Reply)
Discussion started by: gucho
1 Replies

7. UNIX for Advanced & Expert Users

iconv -l and ANSEL character set

I am forced to use the ANSEL character set for some GEDCOM documents but must convert them to a more modern set for another app which doesn't recognize ANSEL. I am unable to locate an ISO code for ANSEL in a search of the web. Would someone plese identify the ANSEL character set from the list given... (4 Replies)
Discussion started by: Whiterock
4 Replies

8. Programming

character set solaris

hi , i am trying to work on a script that transforms some special Dutch characters and send them to a Xerox printer .. the problem is that while doing so iam unable to identify th correct character set that is used by solaris , to transfer these characcters to Xerox character set . thanks... (2 Replies)
Discussion started by: ppass
2 Replies

9. Solaris

latin 2 character-set with xterm

Hi, We have problems with the latin 2 Character-set with xterm. We have installed SunRay-Server with Solaris 8. Our Thinclients use hu- and cz-keyboards. I have set the right local-settings and xmodemaps. If I use the dtterm all is running fine. As soon as I use the xterm, it cannot display... (0 Replies)
Discussion started by: paho
0 Replies

10. Email Antispam Techniques and Email Filtering

Stopping Language Character Set Spam

I have noticed a significate decrease in spam by prodmail filtering on the language character sets that I don't read. Nothing against our fine friends in Japan, China, Korea and all over the world who use different languages, but I now find that over 50% of my mountains of spam daily is... (1 Reply)
Discussion started by: Neo
1 Replies
Login or Register to Ask a Question