Code Monkey home page Code Monkey logo

Comments (4)

gregko avatar gregko commented on August 15, 2024

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.

Antarix avatar Antarix commented on August 15, 2024

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

screenshot_2013-07-17-09-15-28
screenshot_2013-07-17-09-15-08

But i am very thankful to you for reply me :) hope you could give us a solution

from webarchivereader.

gregko avatar gregko commented on August 15, 2024

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.

Antarix avatar Antarix commented on August 15, 2024

Thanks Greg 👍

from webarchivereader.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.