Git Product home page Git Product logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
I'll classify this as a feature request for support for other languages.

Original comment by [email protected] on 22 Dec 2008 at 10:04

  • Added labels: Priority-Low, Type-Enhancement
  • Removed labels: Priority-Medium, Type-Defect

from daisydiff.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
DaisyDiff sets nekohtml feature 
"http://cyberneko.org/html/features/scanner/ignore-
specified-charset" to 'true'.

So if you are using DaisyDiff directly via java API, you should specify which 
encoding should be used by setting charset of InputSource:

inputSource.setEncoding("UTF-8");

before calling method cleanAndParse.

At least it helped in my case.

Original comment by [email protected] on 21 Feb 2009 at 8:09

  • Added labels: ****
  • Removed labels: ****

from daisydiff.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024

Original comment by [email protected] on 17 Apr 2009 at 9:58

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

from daisydiff.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Hi..

If u r dealing with a bulk set of urls,u may not apply this setEncoding.
I am facing similar problem that

I am dealing with bulk url source,which has many char sets lile 
(utf-8,windows,iso etc)
And i found that the html source after diff comparison is by default UTF-8.

How can i find a solution to solve the problem when different charset pages r 
diifed.??

Original comment by [email protected] on 27 May 2011 at 1:28

  • Added labels: ****
  • Removed labels: ****

from daisydiff.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
[deleted comment]

from daisydiff.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Hello,

Fixed encoding problem with below code

DaisyDiff.diffTag(new BufferedReader(new InputStreamReader(sourceStream , 
IOUtil.UTF8)),new BufferedReader(new InputStreamReader(targetStream , 
IOUtil.UTF8)),postProcess);

..Thanks

Original comment by [email protected] on 13 Oct 2011 at 5:26

  • Added labels: ****
  • Removed labels: ****

from daisydiff.

Related Issues (20)

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.