texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[6223] unicode_text don't normalize


From: Gavin D. Smith
Subject: [6223] unicode_text don't normalize
Date: Tue, 14 Apr 2015 16:33:14 +0000

Revision: 6223
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6223
Author:   gavin
Date:     2015-04-14 16:33:13 +0000 (Tue, 14 Apr 2015)
Log Message:
-----------
unicode_text don't normalize

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Convert/Unicode.pm

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-04-14 16:21:04 UTC (rev 6222)
+++ trunk/ChangeLog     2015-04-14 16:33:13 UTC (rev 6223)
@@ -1,9 +1,12 @@
 2015-04-14  Gavin Smith  <address@hidden>
 
-       * tp/Texinfo/Plaintext.pm (_printindex_formatted): Don't call 
-       Texinfo::Convert::Unicode::string_width with the part of the 
-       string we have already called it on.
+       * tp/Texinfo/Conver/Plaintext.pm (_printindex_formatted): Don't 
+       call Texinfo::Convert::Unicode::string_width with the part of 
+       the string we have already called it on.
 
+       * tp/Texinfo/Convert/Unicode.pm (unicode_text): Don't normalize 
+       return value.
+
 2015-04-13  Gavin Smith  <address@hidden>
 
        * tp/Texinfo/Common.pm (count_bytes): Add special handling of 

Modified: trunk/tp/Texinfo/Convert/Unicode.pm
===================================================================
--- trunk/tp/Texinfo/Convert/Unicode.pm 2015-04-14 16:21:04 UTC (rev 6222)
+++ trunk/tp/Texinfo/Convert/Unicode.pm 2015-04-14 16:33:13 UTC (rev 6223)
@@ -1238,7 +1238,7 @@
     $text =~ s/'/\x{2019}/g;
     $text =~ s/`/\x{2018}/g;
   }
-  return Unicode::Normalize::NFC($text);
+  return $text;
 }
 
 # return the 8 bit, if it exists, and the unicode codepoint




reply via email to

[Prev in Thread] Current Thread [Next in Thread]