[Xsltforms-support] Charset problem (+ bug found)
Brought to you by:
alain-couthures
From: Grégoire C. <gco...@gm...> - 2010-02-12 18:14:20
|
Hi, I'm submitting my XForm from an UTF-8 encoded page. When the data reaches my eXist query, and I display the parameter, it is displayed as ISO-8859-1 on an UTF-8 page. BTW, looking in "xsltforms.js", I noticed that there is a missing "=" near : var media = this.mediatype; var mt = (media || "application/xml") + (this.charset? ";charset" + this.charset : ""); this last line should be : + (this.charset? ";charset*=*" + this.charset : ""); However this does not solve my problem since "this.charset" is null (well "undefined"). And even if I force UTF-8 with : mt = "application/xml;charset=UTF-8"; the request parameters are still converted to ISO somewhere. Any idea? Thanks, Grégoire |