On Wednesday, March 26, 2014 4:17:19 PM UTC-7, Lex Trotman wrote:
>
> [...] 
> > 
> > I had this same issue today.  Worked without --icons and failed with it. 
> > 
> > After some investigation it appears to be an issue in a2x where it isn't 
> > encoding the manifest file as UTF-8.  In my case I had a copyright 
> symbol 
> > introduced through the docinfo.xml file.  My fix was to alter the a2x 
> file 
> > itself as detailed in this bug fix page for fedora: 
> > 
> > 
> https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20131202/1153359.html
>  
> > 
> > I checked the mercurial repository and it doesn't have this change. 
> > 
> > The essence of the change is this: 
> > 
> > import codecs 
> > ... 
> > def write_file(filename, data, mode='w', encoding='utf-8'): 
> >     f = codecs.open(filename, mode, encoding) 
> > ... 
>
> Hi John, 
>
> That looks sensible, can make a pull request please. 
>
>
I did this (I think).  I am not familiar with hg.  I created a clone, 
changed on local, tested, and pushed.  I see it on my cloned repository.

https://code.google.com/r/jgoalby-writefileencodingissue/

But, I am not sure if that is the end of what I need to do, or if there is 
another step to request that my changes be merged?
 

> Cheers 
> Lex 
>
> PS a pox upon the house of Fedora/Redhat for not submitting it upstream :( 
>
>
:-)

John.
 

>
> > 
> > The above worked for me.  I think you should try and report back whether 
> it 
> > worked for you.  Perhaps then if it works we can suggest that it be 
> fixed? 
> > 
> > John. 
> > 
> > -- 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected]<javascript:>. 
>
> > Visit this group at http://groups.google.com/group/asciidoc. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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.

Reply via email to