i cant setup web.xml succesfull so i use an alternative approach

i have as first map into my pipeline

                                <map:act type="set-encoding">
                                        <map:parameter 
name="form-encoding" value="UTF-8"/>
                                </map:act>


offcourse you need to declare this acction in <map:actions>

puting:

<map:action name="set-encoding" 
src="org.apache.cocoon.acting.SetCharacterEncodingAction"/>

i dont know why after a cocoon version is missing from the defautl 
sitemap.xml

btw t
he class org.apache.cocoon.acting.SetCharacterEncodingAction still 
exist


with all this i am able to bost greek charakters and store them in mySQL



-- stavros
On Fri, 27 Aug 2004, Grzegorz "Goliatus" Taρczyk wrote:

> Witaj gounis,
> 
> Ok, now what to do with container-encoding and form-encoding in
> web.xml?
> 
> MySQL does not support UTF-8, but I want cocoon to output in unicode.
> Can this be connected? How does it work?
> 
> W Twoim li?cie datowanym 27 sierpnia 2004 (13:45:53) moΏna przeczytaζ:
> gog> hi grzegorz
> 
> gog> as far i know that mysql does not support unicode (please corect me)
> 
> gog> so we have to define our encoding in connection string 
> 
> gog> take a look here 
> 
> gog> http://wiki.apache.org/cocoon/SpecificDatabaseConnectionNew
> 
> gog> i have an example in case of greek encoding
> 
> gog> --stavros
> 
> 


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

Reply via email to