cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Smirnoff" <asmirn...@vistar.ca>
Subject Re: i18n with POST requests
Date Wed, 17 Apr 2002 16:23:22 GMT
I know that this question maybe is not for Cocoon list. Nevertheless,

I've set 

<META http-equiv="Content-Type" content="text/html; charset=UTF-8">

in the html form. 

When submitting the form with national characters (Russian) I recieve 
parameters in unreadable charset. I'm not good neither in HTTP  nor in
internationalization. Could anybody explain how to parse it correctly to
convert whatever it is into correct UTF8 string?

Thanks,
Alex.

----- Original Message ----- 
From: "Piroumian Konstantin" <KPiroumian@protek.com>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, April 16, 2002 4:10 AM
Subject: RE: i18n with POST requests


> > From: Alexander Smirnoff [mailto:asmirnoff@vistar.ca] 
> >
> > Hi guys,
> > 
> > I've got into problem with internationalization with input 
> > forms. I'm using
> > 'UTF-8' encoding. When displaying data back from the database (Oracle)
> > it is not in the same encoding. This must be very stupid and annoying
> > question, but I have not found worthy answer in archives... Sorry.
> > 
> > What are the common practices with Cocoon?
> 
> Practices are the same as in any other servlet-based application, nothing
> different. 
> 
> First of all find out where the problem happens:
> - check your request params: do you parse them correctly?
> - check if they are written to the database in the needed encoding
> - check that you get them back in the needed encoding
> - check that you set the serializer's encoding
> 
> Regards,
> Konstantin
> 
> > 
> > Thanks,
> > Alex.
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> > 
> > 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message