11-26-2000
Hi,
I'm away from my Solaris now,
but I think a good guess would be to check out /etc/TIMEZONE you might have some of the LOCALE definition set over there.
you'll need a reboot after editing this file.
If it's not set for the whle system and only your user, then it might be in .cshrc or .login in the form of setenv lines.
Hezki
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 OSX
newlocale
NEWLOCALE(3) BSD Library Functions Manual NEWLOCALE(3)
NAME
newlocale -- Create a new locale
SYNOPSIS
#include <xlocale.h>
locale_t
newlocale(int mask, const char * locale, locale_t base);
DESCRIPTION
Creates a new locale_t based off the locale specified by base. The categories specified by mask will be replaced to correspond with the
named locale.
The mask is the logical OR of the following:
LC_COLLATE_MASK Collation
LC_CTYPE_MASK Character type
LC_MESSAGES_MASK Messages
LC_MONETARY_MASK Monetary
LC_NUMERIC_MASK Numeric
LC_TIME_MASK Time
LC_ALL_MASK The logical OR of all of the above
The locale string is typically the name of one of the directories in /usr/share/locale. If locale is NULL, then the C locale is used. If
locale is an empty string, then it will look for environment variables: LC_ALL, then LC_* if the corresponding LC_*_MASK bit is set, then the
LANG environment variable. If none of these are found, it will default to the C locale.
If base is NULL, the current locale is used. If base is LC_GLOBAL_LOCALE, the global locale is used.
If mask is LC_ALL_MASK, base is ignored. In order to create a C locale_t value, use newlocale(LC_ALL_MASK, NULL, NULL).
RETURN VALUES
Returns a new locale_t, or NULL in case of error. New locales should be freed with freelocale(3).
SEE ALSO
duplocale(3), freelocale(3), querylocale(3), uselocale(3), xlocale(3)
BSD
March 11, 2005 BSD