Comments (4)
Antarix, could you try adding the following 2 lines to loadToWebView() function, before line 95 which says:
v.LoadDataWithBaseUrl(...);
Add this:
WebSettings settings = v.getSettings();
settings.setDefaultTextEncodingName("UTF-8");
Please test it and let me know if it works correctly then. If not, I'd like to get a copy of your archive to test it myself, the original URL address of this page, and maybe you could highlight on your image a few of wrong characters and tell me what they should be correctly, as I'm not that familiar with the language (Slovak? I can understand most of it, being Polish by origin, but don't know the correct spelling).
Greg
from webarchivereader.
I tried your logic but no success. Here is the original link http://www.sme.sk/ ,unfortunately I am also not familiar with this language but you can compare any word with original site. The problem arise when we try to read any saved webpage that has language other than English. Can you please give me your mail Id so that i can send you my archive file
attaching screen shots here
But i am very thankful to you for reply me :) hope you could give us a solution
from webarchivereader.
When I look at the image you provided in the 1st post, and now at the page http://www.sme.sk/, I see that characters match correctly, but don't know if this is the same you see in your Android app. My email is gregko AT hyperionics DOT com. Please send me your saved archive, and also tell me how you created this archive, the exact code to create it, and under which version of Android (or other system) you did this?
Greg
from webarchivereader.
Thanks Greg 👍
from webarchivereader.
Related Issues (4)
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 webarchivereader.