On śro, mar 05, 2003 at 08:37:57 -0500, Tsui, Alban wrote:
> Could you tell me how to use the cocoon SetCharacterEncodingAction ?
Declare it:
<map:action logger="sitemap.action.characterencoding" name="characterencoding" 
        
src="org.apache.cocoon.acting.org.apache.cocoon.acting.SetCharacterEncodingAction">
        <form-encoding>utf-8</form-encoding>
<map:action>

and then use it just like yours

yo ucan also override the default parameter by :

<map:act type="characterencoding">
        <map:parameter name="form-encoding" value="iso-8859-2"/>
        <!-- rest of stuff goes here -->
</map:act>
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/      [EMAIL PROTECTED]          _\\()//_
         .'/()\'.     Phone: +48(600)341118     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


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

Reply via email to