used decomposed characters -- mostly for consistency with other recent changes
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 7 Aug 2008 02:35:48 +0000 (02:35 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 7 Aug 2008 02:35:48 +0000 (02:35 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10287 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/extras/org_tree_html_options.pl

index 4aaa8b9..475ead0 100644 (file)
@@ -42,7 +42,7 @@ sub entityize {
         $stuff =~ s/\</&lt;/og;
         $stuff =~ s/\>/&gt;/og;
         $stuff =~ s/\&/&amp;/og;
         $stuff =~ s/\</&lt;/og;
         $stuff =~ s/\>/&gt;/og;
         $stuff =~ s/\&/&amp;/og;
-        $stuff = NFC($stuff);
+        $stuff = NFD($stuff);
         $stuff =~ s/([\x{0080}-\x{fffd}])/sprintf('&#x%X;',ord($1))/sgoe;
         return $stuff;
 }
         $stuff =~ s/([\x{0080}-\x{fffd}])/sprintf('&#x%X;',ord($1))/sgoe;
         return $stuff;
 }