Re: Issue 3 in daisydiff: Charset problem in the result page

44 views
Skip to first unread message

codesite...@google.com

unread,
May 27, 2011, 9:28:46 AM5/27/11
to dais...@googlegroups.com

Comment #4 on issue 3 by srssreej...@gmail.com: Charset problem in the
result page
http://code.google.com/p/daisydiff/issues/detail?id=3

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.??

codesite...@google.com

unread,
Oct 11, 2011, 6:40:39 AM10/11/11
to dais...@googlegroups.com

Comment #5 on issue 3 by ramana.p...@gmail.com: Charset problem in the
result page
http://code.google.com/p/daisydiff/issues/detail?id=3

Hi,
The above encoding problem is resolved with following code.

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

codesite...@google.com

unread,
Oct 13, 2011, 1:27:04 AM10/13/11
to dais...@googlegroups.com

Comment #6 on issue 3 by ramana.p...@gmail.com: Charset problem in the
result page
http://code.google.com/p/daisydiff/issues/detail?id=3

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

Reply all
Reply to author
Forward
0 new messages