You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by 許議中 <jo...@erp.tw> on 2007/02/21 19:49:01 UTC
Dojo & UTF-8
Hi!
In 2.1.10, when open AJAX Mode, the UTF-8 fonts will become a hex code.
In 2.1.7 version, the old one, there is a fix in cocoon-ajax.js like
req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; \
charset=UTF-8");
but now ajax is rewrite by DOJO, how to fix it.
Best Regards
johnson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Dojo & UTF-8
Posted by 許議中 <jo...@erp.tw>.
Found it!
just set below in template!!
var djConfig = { bindEncoding: "utf-8" };
johnson
許議中 提到:
> Hi!
>
> In 2.1.10, when open AJAX Mode, the UTF-8 fonts will become a hex code.
>
> In 2.1.7 version, the old one, there is a fix in cocoon-ajax.js like
>
> req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; \
> charset=UTF-8");
>
> but now ajax is rewrite by DOJO, how to fix it.
>
> Best Regards
>
> johnson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org