texinfo-commits
[Top][All Lists]
Advanced

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

[5474] more ASCII replacements


From: Gavin D. Smith
Subject: [5474] more ASCII replacements
Date: Tue, 22 Apr 2014 18:41:23 +0000

Revision: 5474
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5474
Author:   gavin
Date:     2014-04-22 18:41:22 +0000 (Tue, 22 Apr 2014)
Log Message:
-----------
more ASCII replacements

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/info-utils.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-04-22 17:48:28 UTC (rev 5473)
+++ trunk/ChangeLog     2014-04-22 18:41:22 UTC (rev 5474)
@@ -1,5 +1,10 @@
 2014-04-22  Gavin Smith  <address@hidden>
 
+       * info/info-utils.c (degrade_utf8): Replacements added for more
+       characters spotted in documents.
+
+2014-04-22  Gavin Smith  <address@hidden>
+
        * info/window.c (window_make_modeline): Subtract height of
        window from length of node when calculating percentage
        position in node so that it smoothly scales from 0% to 100%.

Modified: trunk/info/info-utils.c
===================================================================
--- trunk/info/info-utils.c     2014-04-22 17:48:28 UTC (rev 5473)
+++ trunk/info/info-utils.c     2014-04-22 18:41:22 UTC (rev 5474)
@@ -598,6 +598,13 @@
     {"\xC2\xA9","(C)"},   /* Copyright symbol */
     {"\xC2\xBB",">>"},    /* Closing double angle brackets */
     {"\xE2\x86\x92","->"},/* Right arrow */
+    {"\xE2\x80\x90","-"},  /* Hyphen */
+    {"\xE2\x80\x91","-"},  /* Non-breaking hyphen */
+    {"\xE2\x80\x92","-"},  /* Figure dash */
+    {"\xE2\x80\x93","-"},  /* En dash */
+    {"\xE2\x80\x94","-"},  /* Em dash */
+    {"\xE2\x80\xA6","..."},  /* Ellipsis */
+    {"\xE2\x80\xA2","*"},  /* Bullet */
 
     {"\xC3\xA0","a`"},   /* Lower case letter a with grave accent */
     {"\xC3\xA2","a^"},   /* Lower case letter a with circumflex */
@@ -613,7 +620,7 @@
     {"\xC3\x87","C,"},  /* Upper case letter C with cedilla */
     {"\xC3\xA7","c,"},  /* Lower case letter c with cedilla */
     {"\xC3\x9f","ss"},  /* Lower case letter sharp s */
-    
+
     {0, 0}
   };
 




reply via email to

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