I don't know enough about your setup to be sure, but I have been hit by a
problem similar to this on a Solaris box running IPlanet. The problem was
that the file holding the translations was stored using a different encoding
to the one that was being used to read in the file. You have to be careful
with file encodings, especially as Java attempts to default to a file
encoding that it _believes_ is appropriate.. it can be wrong. There is a
system property that can override the default.. I forget what it is though.
However all file streams can have the encoding explicetly set.
- Chris.
> -----Original Message-----
> From: William Kaufman [mailto:[EMAIL PROTECTED]]
> Sent: 25 April 2001 17:10
> To: '[EMAIL PROTECTED]'
> Subject: RE: Please urgent : Why french accentual characters
> (like � �)
> not display
>
>
> OK, so it's not a browser issue: the characters are getting
> damaged before
> they even get to the browser. (Look at the page source--it's
> got "?"s in
> it.)
>
> Are you even sure the characters are right when you hand them
> off to Tomcat?
> The reason I ask is that Oracle turns non-ASCII characters
> into "?" if you
> didn't set its language correctly.
>
> Try printing your data to System.err in your application
> before writing it
> to the browser: if there are inappropriate question marks,
> it's getting
> damaged by whatever you're using to read the data, not by
> Tomcat or the
> browser: make sure your language in Java and whatever else
> you're using is
> set correctly.
>
> -- Bill K.
>
>
> > -----Original Message-----
> > From: iscnet isc [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 25, 2001 8:48 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Please urgent : Why french accentual characters
> > (like � �)
> > not display
> >
> >
> > Yes, I have a problem whehn generating the french accentual
> charcters,
> > I seen them in IE 4 and 5, I always try in local network with
> > the IIS, it
> > works fine, but if I try with TOMCAT (which is installed in
> > our internet
> > server) it replaces all my accentual characters with ?, To
> > see really the
> > problem, please visit :
> > http://www.isc-net.com/213bus and try internet in search
> > (call to my
> > servlet)
> >
> >
> > >From: "Sam Newman" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: <[EMAIL PROTECTED]>
> > >Subject: Re: Please urgent : Why french accentual characters
> > (like � �) not
> > >display Date: Wed, 25 Apr 2001 16:31:41 +0100
> > >
> > >you mean in the browser? Have you tried using another
> > browser, or can you
> > >see the character in a normal static page?
> > >
> > >sam
> > >----- Original Message -----
> > >From: "iscnet isc" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Sent: Wednesday, April 25, 2001 4:26 PM
> > >Subject: Please urgent : Why french accentual characters
> > (like � �) not
> > >display
> > >
> > >
> > > > Hello,
> > > > I use tomcat, I wrote a servlet which works fine, but i
> > have a problem
> > >in
> > > > the french accentual characters, they always are replaced
> > by ? character
> > > > Can some one help me?
> > > >
> > > > Thank you
> > > >
> > >_____________________________________________________________
> > ____________
> > > > Get Your Private, Free E-mail from MSN Hotmail at
> > >http://www.hotmail.com.
> > > >
> > >
> >
> > ______________________________________________________________
> > ___________
> > Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
-----------------------------------------------------------------
This e-mail is intended only for the addressee(s) named above. It
may contain confidential or privileged information and if you are
not the intended addressee you are not authorized to disclose,
copy, distribute or place any reliance on it whatsoever and we
request that you inform our postmaster ([EMAIL PROTECTED]) that
you have received this e-mail. Any attachment(s) to this message
has been checked for viruses, but please rely on your own virus
checker and procedures. If you contact us by e-mail, we will
store your name and address to facilitate communications.
-----------------------------------------------------------------