Hello Sergei,
On Sat, 14 Apr 2007, Sergei Vyshenski wrote:
> uft-8 support in the body of CSR is broken at least when Apache13 is used.
> Looks like this came with the "Apache2 patch".
> As no one-minute solution is seen, a roll-back is suggested.
Mhm, I looked into the patch again. Do you have the old codebase still
running? I assume you were running under mod_perl. Could you please try if
the problem also exists when running under the openxpki.cgi wrapper?
Besides that, please try the attached patch if it solves the problem for
you. Furthermore, do you have a testcase I can easily reproduce?
thx,
andreas
--- OpenXPKI-Client-HTML-Mason-0.9.796/htdocs/lib/html/safe.mhtml.orig
2007-04-14 21:29:27.000000000 +0200
+++ OpenXPKI-Client-HTML-Mason-0.9.796/htdocs/lib/html/safe.mhtml
2007-04-14 21:31:02.000000000 +0200
@@ -4,7 +4,9 @@
<%init>
return "" if (not defined $data);
- print HTML::Entities::encode ($data);
+ $data = HTML::Entities::encode ($data);
+ Encode::_utf8_on ($data);
+ print $data;
## always return here !!!
## if the normal perl area will be executed
## then the output can include newlines
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
OpenXPKI-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel