Thanks a lot Mark for responding on this.

Scenario is: I have a web application where I want user to input Russian
characters (Table is UNICODE compliant).
The java web application, when deployed on Weblogic is accepting Russian
Characters and persisted correctly in the database.

While the same application, while deployed on the Tomcat transforms Russian
characters into junk chars and the same is being persisted in the database.

Could you please let me know the configuration required to accept correct
UNICODE chars on the UI?
FYI I have tried few options (as per Tomcat Docs) in web.xml but nothing
seems to be giving required results.

Regards,
Achal.

On Wed, Jan 12, 2011 at 8:14 PM, Mark Thomas <ma...@apache.org> wrote:

> On 12/01/2011 14:26, Achal Patel wrote:
> > Hi All,
> > What is equivalent configuration in Tomcat for below charset
> configuration
> > in Weblogic?
> > URI encoding param on Connector does not seem to be working
> > (URIEncoding="UTF-8")?
>
> URIEncoding is probably what you need although being more explicit then
> "does not seem to be working" would help.
>
> I'd also recommend reading this wiki page:
> http://wiki.apache.org/tomcat/FAQ/CharacterEncoding
>
> Mark
>
> >
> > <charset-params>
> >
> >     <input-charset>
> >       <resource-path>*</resource-path>
> >       <java-charset-name>UTF8</java-charset-name>
> >     </input-charset>
> >
> >     <charset-mapping>
> >         <iana-charset-name>UTF-8</iana-charset-name>
> >         <java-charset-name>UTF8</java-charset-name>
> >     </charset-mapping>
> >
> >   </charset-params>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Regards,
Achal Patel.

Reply via email to