[liblouis-liblouisxml] [liblouisutdml] push by john.bo...@xxxxxxxxxxxxxxxxx - Replacing characters < 0x20 in text nodes with 0x20 on 2013-06-22 12:54 GMT

  • From: liblouisutdml@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sat, 22 Jun 2013 12:55:06 +0000

Revision: 5639717b8145
Branch:   default
Author:   John Boyer <john.boyer@xxxxxxxxxxxxxxxxx>
Date:     Sat Jun 22 05:52:23 2013
Log:      Replacing characters < 0x20 in text nodes with 0x20
http://code.google.com/p/liblouisutdml/source/detail?r=5639717b8145

Modified:
 /liblouisutdml/transcriber.c

=======================================
--- /liblouisutdml/transcriber.c        Sat Jun 15 02:23:14 2013
+++ /liblouisutdml/transcriber.c        Sat Jun 22 05:52:23 2013
@@ -502,6 +502,8 @@
       ch = utf8str[in++] & 0xff;
       if (ch < 128 || ud->input_encoding == ascii8)
        {
+         if (ch < 32)
+           ch = 32;
          utfwcstr[out++] = (widechar) ch;
          if (out >= *outSize)
            {
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] [liblouisutdml] push by john.bo...@xxxxxxxxxxxxxxxxx - Replacing characters < 0x20 in text nodes with 0x20 on 2013-06-22 12:54 GMT - liblouisutdml