Changing locale for WE8ISO8859-P1

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default Changing locale for WE8ISO8859-P1

    Hi,

    I would like to change the input locale to WE8ISO8859-P1 in terminal mode
    (not for X).
    I'm connecting to a E420R from Windows XP using TeraTerm. My setting on
    Windows is for French keyboard layout.
    I've transfered datafile with accentuated characters. When I list the files
    on the terminal I can see the right data, but when typing or using
    copy/paste the character is changed.

    Thank you

    Claude Plante


    Guest

  2. Similar Questions and Discussions

    1. changing locale
      Selecting a default locale with "dpkg-reconfigure" does not make that locale effective. Is there any way to change the locale of the system...
    2. Where does the Locale come from for Web Services?
      I am having problems with a small app I wrote where my web services insist in using US dates while my front end uses European format... The app...
    3. [PHP-DEV] Locale
      I wonder if it is "by design" that PHP don't read all LC_* settings from environment. In main/main.c we read LC_CTYPE only. I think at least...
    4. LOCALE with Knoppix
      I am running Knoppix with KDE. I have set KDE to have Austalian language, etc, and these details are correct, but the LOCALE command shows that...
    5. PHP and my locale
      My /etc/sysconfig/i18n file reads LANG="nl_NL". When I use PHP for web pages and the function gmdate() in particular, output still appears in...
  3. #2

    Default Changing locale for WE8ISO8859-P1

    Hi,

    I would like to change the input locale to WE8ISO8859-P1 in terminal mode
    (not for X).
    I'm connecting to a E420R from Windows XP using TeraTerm. My setting on
    Windows is for French keyboard layout.
    I've transfered datafile with accentuated characters. When I list the files
    on the terminal I can see the right data, but when typing or using
    copy/paste the character is changed.

    Thank you

    Claude Plante


    Claude Plante Guest

  4. #3

    Default Re: Changing locale for WE8ISO8859-P1

    "Claude Plante" <tsigpla@yahoo.com> writes in comp.unix.solaris:
    |I would like to change the input locale to WE8ISO8859-P1 in terminal mode

    That's not a valid Solaris locale name. locale -a will show the valid
    locales on your system - they're generally in the form xx_YY.Z
    where "xx" is a two letter ISO language code, YY a country/region code,
    and Z the character set. You would probably want something like
    fr_FR.ISO8859-1 or fr_FR.ISO8859-15.

    |I'm connecting to a E420R from Windows XP using TeraTerm. My setting on
    |Windows is for French keyboard layout.
    |I've transfered datafile with accentuated characters. When I list the files
    |on the terminal I can see the right data, but when typing or using
    |copy/paste the character is changed.

    Try setting the LANG and/or LC_* variables - see 'man -s 5 environ' for
    details.

    --
    __________________________________________________ ______________________
    Alan Coopersmith [email]alanc@alum.calberkeley.org[/email]
    [url]http://www.CSUA.Berkeley.EDU/~alanc/[/url] aka: [email]Alan.Coopersmith@Sun.COM[/email]
    Working for, but definitely not speaking for, Sun Microsystems, Inc.
    Alan Coopersmith Guest

  5. #4

    Default Re: Changing locale for WE8ISO8859-P1

    I tried to set the locale this way:

    $ LC_ALL=fr_CA.ISO8859-1; export LC_ALL
    $ LC_COLLATE=fr_CA.ISO8859-1; export LC_COLLATE
    $ LC_CTYPE=fr_CA.ISO8859-1; export LC_CTYPE
    $ env|grep LC
    LC_ALL=fr_CA.ISO8859-1
    LC_COLLATE=fr_CA.ISO8859-1
    LC_CTYPE=fr_CA.ISO8859-1
    LC_MESSAGES=C
    LC_MONETARY=en_US.ISO8859-1
    LC_NUMERIC=en_US.ISO8859-1
    LC_TIME=en_US.ISO8859-1

    The system accepted the value. But I'm still unable to type French accents.
    I then tried with the console with the same effect.
    When I look at the content of the data file, it shows ok. But using
    copy/paste, on a terminal or on system console, the result is:

    $ cat lang.dta
    BEGINDATA
    EN,EN,English,FR,Anglais:
    FR,EN,French,FR,Français: <-- copy this line
    ....
    $ echo FR,EN,French,FR,Frangais <-- paste here
    FR,EN,French,FR,Frangais

    As you can see, Français has been chaged for Frangais

    Claude Plante

    "Alan Coopersmith" <alanc@alum.calberkeley.org> wrote in message
    news:bgblkh$1bc4$1@agate.berkeley.edu...
    > "Claude Plante" <tsigpla@yahoo.com> writes in comp.unix.solaris:
    > |I would like to change the input locale to WE8ISO8859-P1 in terminal mode
    >
    > That's not a valid Solaris locale name. locale -a will show the valid
    > locales on your system - they're generally in the form xx_YY.Z
    > where "xx" is a two letter ISO language code, YY a country/region code,
    > and Z the character set. You would probably want something like
    > fr_FR.ISO8859-1 or fr_FR.ISO8859-15.
    >
    > |I'm connecting to a E420R from Windows XP using TeraTerm. My setting on
    > |Windows is for French keyboard layout.
    > |I've transfered datafile with accentuated characters. When I list the
    files
    > |on the terminal I can see the right data, but when typing or using
    > |copy/paste the character is changed.
    >
    > Try setting the LANG and/or LC_* variables - see 'man -s 5 environ' for
    > details.
    >
    > --
    > __________________________________________________ ______________________
    > Alan Coopersmith [email]alanc@alum.calberkeley.org[/email]
    > [url]http://www.CSUA.Berkeley.EDU/~alanc/[/url] aka: [email]Alan.Coopersmith@Sun.COM[/email]
    > Working for, but definitely not speaking for, Sun Microsystems, Inc.

    Claude Plante Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139