You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Wang Xusheng <wx...@hotmail.com> on 2003/09/10 05:12:11 UTC

help:jetspeed on WebSphere can't support Chinese

I deployed jetspeed on WebSphere4.0.3, just to found following problem:
When I update (or add )database records with new value containing Chinese 
character, the record  update (or add ) succesfully, but the result is not 
correct, the Chinese character changed into '??...'. But jetspeed can 
display the Chinese character in database records correctly.

The problem appears on all the database (hsql, db2, oracle ,sql server...)

The problem does not appear when the same war file deployed on Tomcat.

Are there any configuration(either websphere or jetspeed) I've missed? Any 
help is appreciated.

Thanks a lot.

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  


Re: help:jetspeed on WebSphere can't support Chinese

Posted by Kevin Wong <su...@ourlobby.com>.
That may due to the request encoding behavior of WebSphere4 as it uses
ISO-8859-1 as the default encoding character set. Try to add
"-Dclient.encoding.override=UTF-8" as JVM argument.


Kevin.


From: "Wang Xusheng" <wx...@hotmail.com>
To: <je...@jakarta.apache.org>
Sent: Wednesday, September 10, 2003 11:12 AM
Subject: help:jetspeed on WebSphere can't support Chinese


> I deployed jetspeed on WebSphere4.0.3, just to found following problem:
> When I update (or add )database records with new value containing Chinese
> character, the record  update (or add ) succesfully, but the result is not
> correct, the Chinese character changed into '??...'. But jetspeed can
> display the Chinese character in database records correctly.
>
> The problem appears on all the database (hsql, db2, oracle ,sql server...)
>
> The problem does not appear when the same war file deployed on Tomcat.
>
> Are there any configuration(either websphere or jetspeed) I've missed? Any
> help is appreciated.
>
> Thanks a lot.
>
> _________________________________________________________________
> ??????????,??? MSN Messenger:  http://messenger.msn.com/cn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>