Thanks for the bug report!
Quote:
Originally Posted by wrCisco
If I change the value of os_encoding from locale.getpreferredencoding() (which seems to be US-ASCII unless I start the interpreter from the bash, in which case it is utf-8) to 'utf-8' all goes well, so it's not a big deal to me, but a more general solution would be probably better.
|
Unfortunately, I don't have a Mac and
os_encoding = locale.getpreferredencoding() works for both ًWindows and Linux machines. BTW, the line is required because Windows machines don't use utf-8 as the default locale. (My machine uses
cp1252.)
I'll fix this when the IDPF releases the next ePubCheck version.