[liblouis-liblouisxml] [liblouis] r599 committed - tests/runHarness.py: make sure output is utf8 encoded.

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 07 May 2012 18:07:57 +0000

Revision: 599
Author:   mesar.hameed
Date:     Mon May  7 11:07:35 2012
Log:      tests/runHarness.py: make sure output is utf8 encoded.
http://code.google.com/p/liblouis/source/detail?r=599

Modified:
 /trunk/tests/runHarness.py

=======================================
--- /trunk/tests/runHarness.py  Tue Mar  6 03:17:15 2012
+++ /trunk/tests/runHarness.py  Mon May  7 11:07:35 2012
@@ -73,7 +73,7 @@
showCurPos(len(actualBRL), actualBRLCursorPos, pos2=expectedBRLCursorPos))
         ])
     report.append("--- end ---")
-    print "\n".join(report)
+    print "\n".join(report).encode("utf-8")

 total_failed = 0
 harness_dir = "harness"
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] [liblouis] r599 committed - tests/runHarness.py: make sure output is utf8 encoded. - liblouis