Re: platform default charset

From: Adam Maass (adam.nospam.maass_at_comcast.net)
Date: 08/22/04

  • Next message: Kerry Sanders: "Re: How to read from a ServletOutputstream?"
    Date: Sat, 21 Aug 2004 17:29:12 -0700
    
    

    "Christophe Darville" <cdarville@infonosis.com> wrote:
    > Hello,
    >
    > How can I change the platform's default charset used by a VM ?
    >
    > I am talking about the charset used by String methods such
    > byte[] getBytes()
    > Encodes this String into a sequence of bytes using the
    > platform's default charset, storing the result into a new byte array.
    >
    >

    On Solaris operating systems, you can change the value of the LANG
    enviroment variable.

    -- Adam Maass


  • Next message: Kerry Sanders: "Re: How to read from a ServletOutputstream?"

    Relevant Pages

    • platform default charset
      ... How can I change the platform's default charset used by a VM? ... I am talking about the charset used by String methods such ... storing the result into a new byte array. ...
      (comp.lang.java.programmer)
    • Re: Problem with accents on mounted partitions
      ... The accented word is written in Portuguese. ... you've changed your charset between FC4 and FC5. ... just stores filenames as a bunch of bytes. ... that dates back years which sets $LANG or $LC_* to something else. ...
      (Fedora)
    • Re: Problem with accents on mounted partitions
      ... you've changed your charset between FC4 and FC5. ... just stores filenames as a bunch of bytes. ... that dates back years which sets $LANG or $LC_* to something else. ...
      (Fedora)
    • Re: OT: character encodings (was: Linux 2.6.20-rc4)
      ... which should DTRT to the best of my knowledge, but clearly, that isn't ... LC_CTYPE defines what charset you use. ... IIRC LANG is a superset for all LC_* - i.e. if only LANG is defined, ... format, date format, etc. ...
      (Linux-Kernel)