Comments (10)
19? What version is that? Api level?
from epubparser.
Yes, API level 19 version name KitKat. And I'm loading epub in webview.
from epubparser.
The problem lies in ContextHelper class where you encode text to UTF-8 with java. But the StandardCharsets class of java is not available below android KitKat version 19.
from epubparser.
StandardCharsets is available since 1.7. Does Android KitKat use 1.6? Or should you use 1.7 when you are developing your app?
from epubparser.
In KitKat, it is working as expected,but not below the version. So now what is the port to user this library below KitKat version ?
from epubparser.
I'll check the problem myself and see if I find a reasonable solution. Thanks for the notice.
from epubparser.
I make it work my way but I can tell you that you can make version specific check and put simple condition in ContextHelper class like this.
if(version<19)
encodedString = URLDecoder.decode(stringToEncode, "UTF_8");
else
encodedString = URLDecoder.decode(stringToEncode, StandardCharsets.UTF_8.name());
from epubparser.
That may not be the only thing that is broken in versions below 19. Is it?
from epubparser.
Yes, I make it work only by putting version specified checking. But you are the author of the library, it's your call to check another condition.
from epubparser.
The problem is fixed in version 1.0.85, released in few hours. Thanks for your cooperation.
from epubparser.
Related Issues (20)
- how to read all chapters title? HOT 2
- please add a constructor for java.io.File HOT 2
- Recursive call to fillNavPoints overwrites "this.navPoints" HOT 1
- com.github.mertakdut.exception.ReadingException: toc.ncx not found. HOT 5
- please return the cover image file name HOT 1
- opf:guide did not load HOT 1
- Entire Book Content Length HOT 2
- this book can't parse, please check it. thanks.
- All epub files are not getting open using epub parser HOT 1
- toc.ncx. How can I get a list of chapters? HOT 1
- Manipulation was failed. HOT 1
- how do i manipulate my epub HOT 1
- sample HOT 1
- Search text HOT 1
- File too short to be a zip file: 0 HOT 1
- Unable to render image in epub
- Need add menu jump function
- javax.xml.parsers.ParserConfigurationException: http://apache.org/xml/features/nonvalidating/load-dtd-grammar
- this lib give up on maintenance? HOT 1
- Performance problem Content class HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epubparser.