Chenping Tsou wrote:
>
> Hi All:
>
> We encountered a very strange situation. While we are porting the
> servlet application form our development platform to our client's
> platform(both are using Solais2.6). The chinese chars in shtml will
> display as ???????, no matter they are hard coding in shtml source or in
> the servlet sorce. But if the ouput is only coming from the servlet
> without shtml extention, will display normally on both platform.
>
> The setup is Solaris2.6 , JRun2.3, NES3.5.1,any help is appreciated.
Check the actual encoding of the output stream. Characters displayed
as "????" mean that you are using uncorrect encoding, probably
default or ISO-8859-1. You can check the actual encoding
in Netscape in "Page Info" or by "telnet www.my.com 80" trick.
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INET, a.s. Mgr. Martin Kuba
Kralovopolska 139 e-mail: [EMAIL PROTECTED]
601 12 Brno WWW: http://www.inet.cz/~makub/
Czech Republic tel: +420-5-41242414/33
--------------------------------------------------------------------
PGP fingerprint = D8 57 47 E5 36 D2 C1 A1 C3 48 B2 59 00 58 42 27
http://wwwkeys.cz.pgp.net:11371/pks/lookup?op=index&search=makub
--------------------------------------------------------------------
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html