11-24-2000
Hi,
I have Solaris 7 installed.
When I give the command 'locale' from the box, I am getting all the environment variables as 'de' ! I want it to be in English. How do I change the locale ??
TIA,
Srinivas.
10 More Discussions You Might Find Interesting
1. Programming
Hi,
In the sample program, I am trying to print a Japanese string.
The code is as follows:
main()
{
setlocale(LC_ALL,"");
printf("String is %S\n", L"JAP");
// Note "JAP" is a valid japanese string
}
If locale is C, the string gets printed, but if it a valid japanese locale, it... (1 Reply)
Discussion started by: Dippan
1 Replies
2. UNIX for Dummies Questions & Answers
Hi Guys,
Any ideas on how to install the zh_CN (Simplified Chinese) input locale for AIX5.2 ?
Can't seem to find it any where.
S. (2 Replies)
Discussion started by: stumpy
2 Replies
3. UNIX for Dummies Questions & Answers
:confused:
Can anyone tell me how to test that locale is working properly in commands like awk, basename, bg, cd, cmp, col, command, csplit, cut, echo, egrep
For ex. suppose I have changed locale using
LC_ALL=german_germany.8859
export LC_ALL
now i want to test(see) it's effect on... (3 Replies)
Discussion started by: alodha
3 Replies
4. Solaris
I support a product which writes to log files and it's currently formatting the date in US format. I've established this is due to these settings:
account1# locale -k d_fmt t_fmt
d_fmt="%m/%d/%y"
t_fmt="%H:%M:%S"
If I log on with a different account the settings are different:
... (1 Reply)
Discussion started by: m223464
1 Replies
5. Solaris
Hi All,
i am pretty new to sun solaris env.I need to install a french locale onto my machine.Could you please guide me through the steps. (1 Reply)
Discussion started by: sankasu
1 Replies
6. Solaris
Hi All,
I need to install a swedish locale on a solaris machine(ver. 10).I have the package downloaded.Can anyone please guide me through the steps and things i need to keep in mind when doing the same? (7 Replies)
Discussion started by: sankasu
7 Replies
7. Shell Programming and Scripting
Hi all,
today i encounter one weird problem.
I tried to do the sftp of one file from one server to another and try to load that file in some datawarehouse with a informatica(extraction,tranformation and loading tool) . But the tool is rejecting all
later i found that there is some problem in... (0 Replies)
Discussion started by: narang.mohit
0 Replies
8. Solaris
i have a new solaris 10 enviroment and when i create new users and when i go to login using the default .profile and run
locale
i get the following
LANG=
LC_CTYPE=en_IE.ISO8859-15
LC_NUMERIC=en_IE.ISO8859-15
LC_TIME=en_IE.ISO8859-15
LC_COLLATE=en_IE.ISO8859-15... (2 Replies)
Discussion started by: dshakey
2 Replies
9. UNIX for Dummies Questions & Answers
HI Gurus,
I have a issue. One of our applications needs the data loads with the timezone (CST) but our zones run on GMT. I tried to change the TZ value under /etc/default/init value but it seems to effect the the whole zone. Is there any way I can just set up the TZ as CST for a particular user.... (2 Replies)
Discussion started by: rama krishna
2 Replies
10. Solaris
I am upgrading a machine to Solaris 10 and noticed a change that would cause a problem for us. We have always used en_US.ISO8859-1 and selected that when setting up the new system.
This is the format on our old system
$ date
Fri Sep 21 10:35:51 PDT 2012
And this is what I got on our old... (1 Reply)
Discussion started by: Bryan.Eidson
1 Replies
LEARN ABOUT DEBIAN
locale
LOCALE(1) Debian GNU/Linux LOCALE(1)
NAME
locale - Get locale-specific information.
SYNOPSIS
locale [ -a | -m]
locale [ -ck ] name...
DESCRIPTION
The locale program writes information about the current locale environment, or all locales, to standard output.
When invoked without arguments, locale summarizes the current locale environment for each locale category defined by the LC_* environment
variables.
-a, --all-locales
Write names of available locales.
-m, --charmaps
Write names of available charmaps.
Output Format:
-c, --category-name
Write names of selected categories.
-k, --keyword-name
Write names and values of selected keywords.
ENVIRONMENT VARIABLES
These environment variables affect each locale categories for all locale-aware programs:
LC_CTYPE
Character classification and case conversion.
LC_COLLATE
Collation order.
LC_TIME
Date and time formats.
LC_NUMERIC
Non-monetary numeric formats.
LC_MONETARY
Monetary formats.
LC_MESSAGES
Formats of informative and diagnostic messages and
interactive responses.
LC_PAPER
Paper size.
LC_NAME
Name formats.
LC_ADDRESS
Address formats and location information.
LC_TELEPHONE
Telephone number formats.
LC_MEASUREMENT
Measurement units (Metric or Other).
LC_IDENTIFICATION
Metadata about the locale information.
This environment variable can switch against multiple locale database:
LOCPATH
The directory where locale data is stored. By default, /usr/lib/locale is used.
FILES
/usr/share/i18n/SUPPORTED
List of supported values (and their associated encoding) for the locale name. This representation is recommended over
--all-locales one, due being the system wide supported values.
AUTHOR
locale was written by Ulrich Drepper for the GNU C Library.
This manpage was written by Joel Klecker <espy@debian.org> for the Debian GNU/Linux system, and expanded by Alastair McKinstry <mck-
instry@computer.org>
SEE ALSO
locale(5), locale(7), setlocale(3)
3rd Berkeley Distribution 2004-12-16 LOCALE(1)