[Rt-devel] [patch] RT (3.8.7) and FCGI > 0.68 and actual utf-8 content
S.P.Zeidler
spz at serpens.de
Sun Apr 4 16:07:06 EDT 2010
Hi,
perl FCGI 0.69 onwards is more picky about the strings it gets.
Thus, if you feed it perl strings with utf-8 you get a complaint about
wide characters in the string.
The following patch takes care of the problem:
--- ./lib/RT/Interface/Web.pm.orig 2009-12-11 17:27:20.000000000 +0000
+++ ./lib/RT/Interface/Web.pm
@@ -88,6 +88,7 @@ sub EscapeUTF8 {
$$ref =~ s/\)/)/g;
$$ref =~ s/"/"/g;
$$ref =~ s/'/'/g;
+ $$ref = Encode::encode_utf8($$ref);
}
best regards,
spz
--
spz at serpens.de (S.P.Zeidler)
More information about the rt-devel
mailing list