Desperated about encoding issues

2003-08-04 Thread Mariusz Sieraczkiewicz
I'm really fond of using ISO-8859-2 encoding.
I've set both xml i html serializer to this encoding.
That's ok. Every generated paged is displayed properly
(also data from database). But I can't get through
proper encoding request parameters. The only way
I was able to do it correctly was xsp page (but I don't want
to be limited to it) and construction like
xsp-request:get-parameter form-encoding=iso-8859-2 ...
   ^^
(I've written about it, but there was no answer. I thought
it was a matter of DatabaseAction using, but it wasn't not.)

I tried to use SetCharacterEncodingAction:
map:act type=set-encoding 
map:parameter name=form-encoding value=iso-8859-2 /
/map:act
!-- . and my operation, RequestGenerator for example --

but it also didn't help.

Please help, I don't know encoding issue very well, but there is no
consistent description (in context of Cocoon).
(I've searched polish pl.comp.xml and a lot of people had similar
problem, not solved so far).

(Additional info: web.xml (of COcoon) form-encoding and container-encoding
set to utf-8 !! - the only good working setting with the others I've
described earlier.)
_
Best regards, Mariusz Sieraczkiewicz


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Desperated about encoding issues

2003-08-04 Thread Antonio Gallardo
Hi:

please check this:

http://wiki.cocoondev.org/Wiki.jsp?page=RequestParameterEncoding

Best Regards,

Antonio Gallardo




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Desperated about encoding issues

2003-08-04 Thread Bruno Dumon
On Mon, 2003-08-04 at 15:13, Mariusz Sieraczkiewicz wrote:
snip/
 
 (Additional info: web.xml (of COcoon) form-encoding and container-encoding
 set to utf-8 !! - the only good working setting with the others I've
 described earlier.)

container-encoding must be set to ISO-8859-1
form-encoding should be set to ISO-8859-2

When you do this, you don't need to use the SetCharacterEncodingAction
nor form-encoding attribute in XSP's.

-- 
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java  XML Competence Support Center
[EMAIL PROTECTED]  [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Desperated about encoding issues

2003-08-04 Thread Mariusz Sieraczkiewicz
Hello,

 container-encoding must be set to ISO-8859-1
 form-encoding should be set to ISO-8859-2
 
Yes, that really helped!!!
thank you so much, I'm your deptor. This is
what I've been looking for. I may go on holiday
now ;-) 

Best regards

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]