View Single Post
Old 04-23-2016, 07:44 PM   #90
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,738
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Thanks for the bug report!

Quote:
Originally Posted by wrCisco View Post
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.
Doitsu is offline   Reply With Quote