View Single Post
Old 06-19-2014, 06:34 PM   #701
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by Rev. Bob View Post
ETA: The code seems to work okay on my end, but I don't have a proper test subject to make sure the Unicode comparison is working as intended. Silent, or anyone else with a suitable test book, please give me some feedback on this...
It seems I spoke too soon. My older code works fine most of the time, but when I try to make it Unicode-friendly...something's not right, and I don't know how to fix it.

Do we have a Python 2.7 Unicode guru in the house? The latest attempt is attached.
Attached Files
File Type: zip Modify ePub - stripspans and stripkobo.zip (124.4 KB, 400 views)
Rev. Bob is offline   Reply With Quote