serjant / daisydiff

Automatically exported from code.google.com/p/daisydiff
0 stars 0 forks source link

The registered trademark sign is rendered as two unknown characters. #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compare two html files that contains registered trademark sign ®
2. Html files are UTF-8 encoded that is specified in the html head metadata.
3. I am using jar file to produce diff content

What is the expected output? What do you see instead?
In html diff mode, the registered trademark sign is rendered as ® symbol
while in html tag diff mode, it is rendered as two unknown characters. 

I read the issue 3 (Charset problem in the result page) where a solution
was provided to set charset of InputSource. But it was not mentioned how
specify charset in arguments when a jar file is used.

What version of the product are you using? On what operating system?
1.0

Please provide any additional information below.

Original issue reported on code.google.com by alvinyao...@gmail.com on 21 Jan 2010 at 8:38

GoogleCodeExporter commented 9 years ago
I could not reproduce this issue. Can your post your two html files? Thank you.

Original comment by kkape...@gmail.com on 1 Feb 2010 at 12:06

GoogleCodeExporter commented 9 years ago
The problem is solved, which was caused by the env codeset setting. After 
setting 
the codeset to 'UTF-8', it worked.

Thanks for looking into it. 

Original comment by alvinyao...@gmail.com on 2 Feb 2010 at 10:29

GoogleCodeExporter commented 9 years ago

Original comment by guy...@gmail.com on 7 Feb 2010 at 1:13