Solaris 9 Default locale Issue

Though I have setup the /etc/default/init with the desired values for the locale variables and rebooted the server, with I login and enter the locale command, the results do not match what is defined in /etc/default/init. Is there any place else to set the locale variables other than /etc/default/init besides the in the .profile for my Unix login id?
thank for any help

http://developers.sun.com/dev/gadc/faq/locale.html
sounds like you followed this:
http://developers.sun.com/dev/gadc/faq/locale.html#def-locale
can you double check with the link refereenced at docs.sun.com?
http://docs.sun.com/app/docs/doc/816-0677/6m758jcqf?a=view

Similar Messages

  • Flex default locale issue

    I've reinstalled my windows 7. Everything is set to English or United States. My flex-config.xml locale is set to en_US. Although everything seems to be non-portuguese, everytime I create a new project the default locale is pt_BR and when I debug my projects errors and messages are shown in portuguese.
    Any clue?!
    Thakns,
    Peter

    http://developers.sun.com/dev/gadc/faq/locale.html
    sounds like you followed this:
    http://developers.sun.com/dev/gadc/faq/locale.html#def-locale
    can you double check with the link refereenced at docs.sun.com?
    http://docs.sun.com/app/docs/doc/816-0677/6m758jcqf?a=view

  • Setting default locale

    I'm having an issue with locales. I'm running SJSAS 8 and every morning (temporarily) a cronjob will reboot the whole system then start up the app server. The problem is that some of our characters in our webapps are showing up as question marks, I think because the locale of the startup user is either incorrect or undefined. If I start up the appserver with a user whose locale is set to something (like en_CA), then there are no issues. So I figured its an issue with the user that executes the cron. I changed the default locale (etc/default/init) to en_CA and rebooted. The next day when the cron ran and the system rebooted, the character issue remained. Is there some other locale I must set?
    thanks

    Ellen Kraffmiller wrote:
    Hi,
    How can I configure weblogic to use a default Locale that is different from the platform's default Locale? (Weblogic 6.1 on Solaris)
    ThanksThe locale of weblogic startup scripts or console?
    Thank you,
    Neo Gigs
    [email protected]
    "Follow the white rabbit..."

  • [SOLVED]X server locale issues

    Ok so I had this common issue with the glibc update (deleted everything but modules in /lib) and I had to manually unzip an older glibc package in my / folder. After that I rebooted my system, updated fully (latest glibc & symlinked /lib to /usr/lib properly). I then started X normaly but I noted this:
    http://pastebin.com/xfd3tXB7
    So although X boots fine, i have this minor locale issues. I guess it has to do with the fact that I am using greek language. I have installed a greek-Inconsolata font back then and now it is not displaying properly on the urxvt (just some weird chars). I can however switch keyboard layouts just fine and type in both languages (greek/english)
    rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # See 'man 5 rc.conf' for more details
    # LOCALIZATION
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Athens"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    LOCALE="en_US.UTF-8"
    DAEMON_LOCALE="yes"
    USECOLOR="yes"
    # HARDWARE
    MODULES=(fglrx snd-usb-audio)
    USEDMRAID="no"
    USEBTRFS="no"
    USELVM="no"
    # NETWORKING
    HOSTNAME=GliderVillage
    interface=wlan0
    address=
    netmask=
    broadcast=
    gateway=
    NETWORK_PERSIST="no"
    # DAEMONS
    DAEMONS=(dbus syslog-ng wicd crond xkbevd wireless-regdom mpd)
    Edit: Btw there is no locale.conf file in my system Oo
    Last edited by Crone (2012-08-24 13:58:25)

    Hmm i did not use locale-gen. I used it now .Do I need to reboot after that? Because restarting X doesn't work
    locale -a: (before and after locale-gen without reboot)
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_COLLATE to default locale: No such file or directory
    C
    POSIX
    locale: (same)
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    Last edited by Crone (2012-07-28 17:24:08)

  • [sovled] gnome3.12 locale issue, cannot open gnome-terminal

    I update gnome from 3.10 to 3.12, everything works fine except that I cannot open gnome-terminal, the error message shows
    (process:2410): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
    Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1.
    The other problem is that I cannot start fcitx(I use it to input chinese) either, there is somethings wrong in my locale, when I type 'locale ' it shows
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=en_US-UTF-8
    LC_CTYPE=en_US-UTF-8
    LC_NUMERIC="en_US-UTF-8"
    LC_TIME="en_US-UTF-8"
    LC_COLLATE=C
    LC_MONETARY="en_US-UTF-8"
    LC_MESSAGES="en_US-UTF-8"
    LC_PAPER="en_US-UTF-8"
    LC_NAME="en_US-UTF-8"
    LC_ADDRESS="en_US-UTF-8"
    LC_TELEPHONE="en_US-UTF-8"
    LC_MEASUREMENT="en_US-UTF-8"
    LC_IDENTIFICATION="en_US-UTF-8"
    LC_ALL=
    I try to reinstall the glibc or regenerate the locale-gen, but none of them solve the problem,  so can anyone help me? thanks.
    Last edited by wntyygtwxf (2014-04-11 10:25:48)

    I have resolved this issue. The reason I guess is also "locale"
    "$localectl" output "System Locale: n/a" and I check the /etc/locale.conf I found this file is lost.
    So after I press below command and reboot the machine, gnome-terminal could be started.
    # localectl set-locale LANG="en_US.UTF-8"
    Thanks all!
    gogoer wrote:
    I don't meet C locale error message after I exec gnome-terminal. Although that, I post below output. 
    ~  locale -a
    C
    en_US
    en_US.iso88591
    en_US.utf8
    POSIX
    zh_CN
    zh_CN.gb18030
    zh_CN.gb2312
    zh_CN.gbk
    zh_CN.utf8
    ~  localectl
    System Locale: n/a
    VC Keymap: n/a
    X11 Layout: n/a
    clfarron4 wrote:@gogoer, did you also get a message about the C locale, or is this an unrelated issue (in which you need to start a new thread)?

  • Default-locale setting is ignored!

    Hi gurus,
    i tried following:
    <application>
    <message-bundle>mymessagess</message-bundle>
    <locale-config>
    <default-locale>en</default-locale>
    </locale-config>
    </application>
    In my application the locale is still de.
    What have i done wrong?
    Or how can i set the local in faces-config?!?!?
    Regards
    Wolle

    Hi,
    Have you tried it with the latest weekly build? You can find it at javaserverfaces.dev.java.net .
    I think you are regarding to issue 8 which has been solved.
    Greetings,
    Romano

  • File Name error when creating file in Solaris C locale

    Background Info:
    1.In Java, we can use new File(filename) to create a new file. The filename there is a string denoting the name of the new file.
    2.As mentioned in bug4409965, "The 'C' locale in a 7-bit ASCII locale, the 8bit characters enteredn are not read in properly probably because in that locale, the input byte stream is expected to contain only 7bit characters, anything else is 'garbage'".
    My problem is:
    when I tried to construct a filename containing non-ASCII characters in the Solaris C locale, Java works quite different from C language.
    To be specify, follwing c code works quite well in C locale:
    char * temstring = "\0xd6\0xd0";
    FILE* fd = fopen(temstring, "w+");
    fprint(fd, "test");
    fclose(fd);
    Although the created file can't be viewed in C locale, the filename shows quite well in other suppoted locale , which means the filename doesn't get modified.
    While in Java, the following code
    File f = new File("\0xd6\0xd0");
    fos.println("test");
    try {
    f.createNewFile();
    } catch (IOException e)
    System.err.println(e.toString());
    will generate the file in C locale as ???? as garbage file name. Even in the proper locale, the filename can't be read correctly.
    I doubt the JVM in Solaris (file unixfilesystem.c) has modified the input filename and made the filename unreadable.
    I just wonder if there is some workaround to solve this problem, which means I can correctly generate the filename using Java just as what the C code has done: create the file just as what I denote instead of modifing the filename.
    Thanks

    Hello:
    Any luck with this problem?
    I am facing the same problem and was wondering if you had found a solution....
    Thanks
    Kiran

  • Solaris 9, Solaris Management Console ISSUE

    Solaris 9, Solaris Management Console ISSUE
    I have Solaris 9 installed and I am unable to use the Solaris Management console.
    I have managed to start it:
    /etc/init.d/init.wbem start
    /etc/init.d/init.wbem status -> shows it's running
    But if I try browser with the link http:// host:898, I have got the following error:
    "A web version of the Solaris Management Console is not available at this time."
    any Idea why?

    Are you running Trusted Extensions? What patch cluster are you on? What toolbox are you opening?

  • How to set default locale in JDK1.3.0 to US?

    Hi, everyone!
    I found the default locale in JDK 1.3.0 is not set to US when I converted our JDK from 1.2 to 1.3.0. So I have to change code by passing Locale.US.
    The output from below test code is:
    default=��100.00
    US=$100.00
    import java.util.Locale;
    import java.text.*;
    public class TestCurrency
    public static void main(String[] args)
    int amount = 100;
    //default
    NumberFormat moneyWriter = NumberFormat.getCurrencyInstance();
    System.out.println ("default=" + moneyWriter.format(amount) );
    //US
    moneyWriter = NumberFormat.getCurrencyInstance(Locale.US);
    System.out.println ("US=" + moneyWriter.format(amount) );
    Can anyone tell me how to set default locale in JDK 1.3.0 to US?
    Thanks!

    You have to set something on your computer (outside Java) to tell it that you are in the US. You didn't say, but I'm going to guess that you are using Windows; if that's so, then try Regional Options in Control Panel.

  • Maintaining default locale in multi-lingual application

    Hello,
    I have a multi-lingual application where the language can be changed at runtime.
    To make the following code work properly, the default locale has to be set each
    time the language changes. Why?
    Since I need to check sometimes the platforms original locale (I do this with
    "Locale.getDefault()"), I am looking for a way not to change the default locale,
    but still to change the resourceBundle.
    In the API I read under "ResourceBundle, Cache Management" that the bundles are cached. Is this the reason why redefining the resourceBundle has no effect? And if yes, how can it be avoided?
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    public class Y extends JFrame {
      boolean toggle;
      Locale currentLocale;
      JButton b;
      ResourceBundle languageBundle;
      String country, userLanguage;
      public Y() {
        setSize(300,300);
        setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        Container cp= getContentPane();
        b= new JButton();
        b.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent evt) {
         toggle= !toggle;
         if (toggle)
           country= "DE";
         else
           country= "GB";
         setUserLanguage(country);
        cp.add(b, BorderLayout.SOUTH);
        setUserLanguage("GB");
        setVisible(true);
      public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
          public void run() {
         new Y();
      void setUserLanguage(String country) {
        if (country.equals("DE"))
          userLanguage= "de";
        else
          userLanguage= "en";
        currentLocale = new Locale(userLanguage, country);
    //    System.out.println(currentLocale); // The locale changes ...
    //    Locale.setDefault(currentLocale); // Remove comment slashes and it works.
    //    languageBundle.clearCache(); // No effect.
        languageBundle = ResourceBundle.getBundle("MyBundle",currentLocale);
        System.out.println(languageBundle); // ... but the resourceBundle does not change.
        b.setText(languageBundle.getString("ButtonText"));
    The resource bundle files:
    MyBundle.properties
    ButtonText= Just a button
    MyBundle_de_DE.properties
    ButtonText= Nur ein KnopfEdited by: Joerg22 on 18.08.2008 13:26

    What's your default locale? If your default locale is de_DE, that's the expected behavior. The reason for it is the fallback mechanism searches default locale's bundle before falls back to the base bundle, i.e., in case of searching en_GB bundle, the search order is:
    en_GB
    en
    de_DE
    de
    (base)
    So, it will choose MyBundles_de_DE.
    If you do not want this default locale fallback, you can specify ResourceBundle.Control instance, which is returned from ResourceBundle.Control.getNoFallbackControl() method, in your getBundle() call. Or if you do not use JDK6, you could copy the base bundle to MyBundles_en, which is ugly but should work.
    Naoto
    Edited by: naoto on Aug 18, 2008 1:05 PM

  • Can I set the default locale for jvm

    Hi,
    Can I set the default locale for jvm?
    How to do it?
    Pan

    My windows default locale is chinese .I have thought of your opinion. But in
    windows nt , if I change the locale , all the environment will be
    destroyed(just like reinstall it , it's difficult for me) . So , Is there
    any other approach?
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Did you try to change the locale in the Windows control panel?
    (Control panel -> Regional Options -> Your locale)
    Pan YangBin <[email protected]> wrote:
    I have tried changing this system property and other properties such
    as -Duser.language=en -Dfile.encoding=Cp1252 , but all these properties
    did
    not changed, you can get this infomation from the log file .Maybe these
    system properties are readonly.
    Thanks very much.
    Pan
    Chris Halstead <[email protected]> wrote in message
    news:[email protected]...
    Try adding -Duser.region=US to the java command line used to start
    WebLogic...
    -chris
    "Pan YangBin" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    The problem exists in my project still exist.That is it.
    When I did not set weblogic.jsp.encoding to GB2312 in my web
    application(web.xml), and when the jsp file contain's chinese , the
    output
    will be error(error chinese) .And when I did not set it , the output
    is
    correct, but when I use request.getParameter("SomeFormElement")(theelement
    inputed chinese), the return value is error(still chinese error).And
    when
    I
    am in windows nt english version and do not set this property, all
    these
    two
    problems dispear. And I try to compare the java files those were
    generated
    by weblogic from the jsp file , there is only two additional clause
    in
    the
    java file. That's it:
    ((weblogic.servlet.jsp.JspWriterImpl)out).setEncoding("GB2312");
    response.setHeader("Content-Type", "text/html; charset=GB2312");
    (the web.xml has <context-param>
    <param-name>weblogic.jsp.encoding</param-name>
    <param-value>GB2312</param-value>
    </context-param> to be set
    So, I think maybe it works well if I change the default locale toenglish.
    And unfortunately, your method is also failed.(I have to use weblogic
    in
    chinese environment)
    Would you please help me to solve this problem?
    Pan
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Try java ... -Duser.language=en ...
    or mode con cp select=437 in the command prompt before running
    weblogic.
    Pan YangBin <[email protected]> wrote:
    I'm using weblogic server 5.1 sp6 in chinese environment, and I
    want
    weblogic compile my jsp with en_us locale . So I can't use
    Locale.setDefault(new Locale(...)) to set the default locale ,butI
    really
    want someway configure.
    Pan
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Locale.setDefault(new Locale(...)) ?
    Pan YangBin <[email protected]> wrote:
    Hi,
    Can I set the default locale for jvm?
    How to do it?
    PanDimitri
    Dimitri
    Dimitri

  • Default locale support for texts datasources

    Hi,
    I faced with problem - does BW support default locales ?
    I have some texts datasources which contain some list of entries for default locale. The question is - what value of LANGU field I should setup for  these entries in order to BW recognize them as for default locales ?
    Thanks. I will be apprecated for any related info.
    Fiodar.

    Hi Fiodar,
    well I am not sure about your requirement, but it sounds like you want to add a default value to langu in case the source system doesn't deliver it.
    If this is the case, create a update routine in your transfer rules for 0langu. In the routine add the following coding:
    if tran_structure-spras is initial. "no language specified
    usually the R/3-field is called spras
      result = sy-langu. "or a literal like 'EN' ...
    else.
    pass the given language to the result of the routine.
      result = tran_structure-spras.
    endif.
    That's it.
    In case your datasource doesn't even deliver a field for the language, you can just set a constant value to 0langu in your transfer rules.
    regards
    Siggi

  • Solaris 10 local zone setup requirement/steps for am/ps 7.0 installation

    Hi,
    Is there any document available on solaris 10 local zone creation/requirement for am server/ portal server 7.0 install? Any help/pointer is appreciated.
    Thanks,

    I don't believe there is any specific documentation am/portal in a zone. And as far as I know there are no specific requirements either. I have successfully installed portal in a solaris zone.
    A good starter tutorial on zones is here: http://partneradvantage.sun.com/protected/solaris10/adoptionkit/tech/zones/tutorial.html
    Hi,
    Is there any document available on solaris 10 local
    zone creation/requirement for am server/ portal
    server 7.0 install? Any help/pointer is
    appreciated.
    Thanks,

  • Where the Adobe Designer PDF Form "Default Locale" read from?

    I am designing PDF form using Adobe Designer. I have set the "Default Locale" in the Edit -> Form Properties. I have set the Display Pattern of numeric field to ZZZ,ZZZ,ZZ9.99. Based on locale, Adobe should format the numeric field accordingly. So where exactly the Adobe Designer read the locale and the number format? From SAP table, Adobe server OS, PC OS or from where? Because I need to check the locale setting ZZZ,ZZZ,ZZ9.99, ZZZ.ZZZ.ZZ9,99 and so on.

    Check in the Interface Or Form Builder -->Interface.
    Reward if Useful.
    Thanks,
    Anita

  • User.region and the default locale

    What is the difference between user.region, user.country and the default locale.
    Thanks

    Same problem here ! I called Apple Care and got two people during 2 hours on call, they were unable to explain why and just repeat that "the use of TVout for recording purpose are not supported by apple".
    Why this settings has to be hidden ?
    FYI : i'm able to capture Ipad 2 thru BMD Intensity Pro but not able to switch PAL and NTSC in TV OUT settings to get a correct input. TV OUT setting doesn't appear.

Maybe you are looking for