default encoding on Solaris

default encoding on Solaris

Post by Wang Che » Sat, 21 Jul 2001 18:32:27



Is there any command to probe the system default encoding on Solaris
2.6? And any command to change the default encoding? As far as I know, Java
can do that like this:
     "System.out.println(System.getProperty("file.encoding"))"
     I am wondering there is a counterpart in the Unix command to implement
that.
    Any hint will be helpful, Many thanks.
 
 
 

default encoding on Solaris

Post by Roland Main » Sun, 22 Jul 2001 20:39:28



> #   Is there any command to probe the system default encoding on Solaris

> What encoding is that?

> And now News for the hard of hearing:

>     WHAT ENCODING IS THAT?

Plain ASCII. But Solaris supports UTF-8 (and some other things), too -
when the user or the whole system runns one of the *.UTF-8 locales
(en_US.UTF-8, ja_JP.UTF-8, etc.) ...

----

Bye,
Roland

--
  __ .  . __


  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 641 99-41370 FAX +49 641 99-41359

 
 
 

default encoding on Solaris

Post by Philip Bro » Mon, 23 Jul 2001 00:10:39





>> #   Is there any command to probe the system default encoding on Solaris

>> What encoding is that?

>> And now News for the hard of hearing:

>>     WHAT ENCODING IS THAT?

>Plain ASCII. But Solaris supports UTF-8 (and some other things), too -
>...

This has nothing to do with "Solaris", per se, and everything to do with
"The java runtime that sun ships with solaris".

It's a java question, and should be asked on java programming newsgroups.

--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]

The word of the day is mispergitude