AngelicTech / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
1 stars 1 forks source link

Entities in DocumentTitle are not converted. #347

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?
1. A html file that 

<html><head> 
<title>Conex&atilde;</title>
...

What is the expected output? 
DocumentTitle <- Conexão

What do you see instead?
DocumentTitle <- Conex&atilde;

Using FrameDem.exe from 2013.06.29

I think that DocumentTitle should be converted when parsed. Is there an 
available function that can be used for conversion of HTML Entity names?

Original issue reported on code.google.com by miguelGa...@gmail.com on 26 Apr 2014 at 2:33

GoogleCodeExporter commented 9 years ago
Thanks for spotting this issue.

Original comment by OrphanCat on 26 Apr 2014 at 5:49

GoogleCodeExporter commented 9 years ago
r465 fixes this issue

Original comment by OrphanCat on 28 Apr 2014 at 10:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks for taking your time to solve this issue, OrphanCat.

But, is there a mistake on line 4672 of ReadHTML.ReplaceEntities ?

if PPos < PEnd then 
shouldn't it be <=  ?

Miguel

Original comment by miguelGa...@gmail.com on 4 May 2014 at 12:04

GoogleCodeExporter commented 9 years ago
Yes, thanks. You're right. r466 fixes it.

Original comment by OrphanCat on 4 May 2014 at 9:44