-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------



AFAIK, you can set a System property from within a servlet.  I use a static
initializer
in one of mine that reads a .properties file and merges it into the System
properties
list.

You have my sympathy for writing international web apps in Java.  Yes, there is
a
plethora of i18n features, but most assume you are reading and writing to/from
the
platform that is hosting the JVM.  Communicating with other devices (i.e.
browsers,
or, in my case, network printers) in various encodings is a major pain.  The
architecture was simply not designed with this in mind, and you are discouraged
from extending this functionality since it resides in a sun.io package.  In my
humble
opinion, this is a major hole in the Java libraries for this kind of work...  My
$0.02.

Russ





Pawel Pesz <[EMAIL PROTECTED]> on 09/14/99 03:29:16 AM

Please respond to Java Apache Users <[EMAIL PROTECTED]>

To:   Java Apache Users <[EMAIL PROTECTED]>
cc:    (bcc: Russ Pridemore/GVL/BSM/MCI)
Subject:  Re: Character encoding..




-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Martin Kuba <[EMAIL PROTECTED]> wrote:
> [...] No, file.encoding property should not be set from
> the command line.
> See the "evaluation" part of bug in
> http://developer.java.sun.com/developer/bugParade/bugs/4256423.html

Well, that's a bummer. Some (third party) packages do not give
you the option of explicitly specifing your encoding in I/O
operations (a notable example of this, AFAIK, is JDBC in JDK
1.1.X). So without "file.encoding" you are in a bit of a
hole :-(

--
Pawel Pesz
InsERT.net, Wroclaw, Poland
mailto:[EMAIL PROTECTED]
http://www.insert.net.pl



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]









--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to