The version 8.6.9  exits with an error, if the title or the athour of the 
asciidoc source document contains non ASCII characters. With this small 
patch I could solve the problem. The epub files which are created with this 
patch passed the epubcheck tests, and after using this patch for a year now 
I had no problems producing other formats as well. In spite of that I have 
no guess about any kind of possible side effect of it. Only one line had to 
be modified in the a2x python file.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.
--- a2x.org	2014-05-15 09:26:35.000000000 +0200
+++ a2x	2014-07-01 09:21:25.706910942 +0200
@@ -147,7 +147,7 @@
 def write_file(filename, data, mode='w'):
     f = open(filename, mode)
     try:
-        f.write(data)
+        f.write(data.encode('utf-8'))
     finally:
         f.close()
 

Reply via email to