I'm using Linux-Mandrake 8.0 in my laptop. After I logged in as a "root", I added a new path in my .bashrc file (I use bash shell). Then I can observe it has been set correctly by typing echo $PATH.
But, when I log in again as a personal account, not "root", then I open my bash shell, and type... (5 Replies)
When logging into solaris box through ssh, my profile does not get set correctly and I'm presented with the default ksh prompt "$".
When logging in through telnet, everything is set correctly. Is there a special profile that sshd runs?
ssh2: F-Secure SSH 2.4.0 (build 15) on sparc-sun-solaris2.8 (0 Replies)
Hi,
I need to set a locale to my linux machine which has redhat enterprise linux 4
how should I do that.
And also when i did locale -a, I have got three versions for each locale type
with different .extensions like utf8,iso88951 and soon
which file should I use for setting locale.
... (1 Reply)
hi All,
I'm using sun OS 5.10.
All locales are set to en_US.ISO8859-1 in /etc/profile/init file.
I'm using one functional user.When I tried to "sesu - functionalUser",its giving me error like "Couldn't set locale correctly".In functional user profile i'm tring to set locales to en_US.After... (1 Reply)
Hello,
I have a recently configured machine that when log into it as a user or remotely as root it displays "Couldn't set locale correctly"
When I type locale it displays the below which is wrong compared to other machines
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"... (7 Replies)
Dear All,
I Have problem at my console (Ultra 24, solaris 10 x86), when i type dmesg always come out :
like this
You have new mail.
root@console # bash
root@console # dmesg
couldn't set locale correctly
couldn't set locale correctly
So how to fix it...?
Best Regards
simbah (3 Replies)
Hi,
I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8
With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8".
Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
I'm trying to virtualize an instance of SCO Open Server 5.0.2c in VirtualBox (called VM- A) , I can not configure the network (NIC).
The NIC I'm using is PCnet -FAST III (Am79C973 ) (this NIC works with VirtualBox + SCO 5.0.5M)
When I add from ' Add new LAN adapter' I detects the NIC... (2 Replies)
Discussion started by: flako
2 Replies
LEARN ABOUT PHP
collator.__construct
COLLATOR.__CONSTRUCT(3) 1 COLLATOR.__CONSTRUCT(3)Collator::__construct - Create a collator
SYNOPSIS
public Collator::__construct (string $locale)
DESCRIPTION
Creates a new instance of Collator.
PARAMETERS
o $locale
- The locale whose collation rules should be used. Special values for locales can be passed in - if null is passed for the locale,
the default locale's collation rules will be used. If "root" is passed, UCA rules will be used. The Locale attribute is typically
the most important attribute for correct sorting and matching, according to the user expectations in different countries and
regions. The default UCA ordering will only sort a few languages such as Dutch and Portuguese correctly ("correctly" meaning
according to the normal expectations for users of the languages). Otherwise, you need to supply the locale to UCA in order to
properly collate text for a given language. Thus a locale needs to be supplied so as to choose a collator that is correctly tai-
lored for that locale. The choice of a locale will automatically preset the values for all of the attributes to something that is
reasonable for that locale. Thus most of the time the other attributes do not need to be explicitly set. In some cases, the choice
of locale will make a difference in string comparison performance and/or sort key length.
RETURN VALUES
Returns Collator instance.
ERRORS /EXCEPTIONS
Returns an "empty" object on error. You can use intl_get_error_code(3) and/or intl_get_error_message(3) to know what happened.
EXAMPLES
Example #1
Collator.__construct(3) example
<?php
$coll = new Collator( 'en_CA' );
?>
SEE ALSO Collator.create(3), collator_create(3).
PHP Documentation Group COLLATOR.__CONSTRUCT(3)