Search found 6 matches
- Fri Feb 22, 2013 1:28 am
- Forum: Support
- Topic: rvhtmlviewimporter & html entities
- Replies: 8
- Views: 19475
- Tue Feb 19, 2013 2:30 am
- Forum: Support
- Topic: rvhtmlviewimporter & html entities
- Replies: 8
- Views: 19475
Problem solved by adding following code before loading html
Thanks for the time.
Code: Select all
rv.Clear;
rv.Style.TextStyles[0].Unicode := true;
- Mon Feb 18, 2013 1:08 am
- Forum: Support
- Topic: rvhtmlviewimporter & html entities
- Replies: 8
- Views: 19475
- Fri Feb 15, 2013 6:16 am
- Forum: Support
- Topic: rvhtmlviewimporter & html entities
- Replies: 8
- Views: 19475
This is the code where I'm importing the html to a richviewedit.
Code: Select all
ss := TStringStream.Create(html);
htmlViewer.LoadFromStream(ss);
rvHtmlViewImporter.ImportHtmlViewer(htmlViewer, rv);
NormalizeRichView(rv.RVData);
rv.Format;
- Fri Feb 15, 2013 6:12 am
- Forum: Support
- Topic: rvhtmlviewimporter & html entities
- Replies: 8
- Views: 19475
- Fri Feb 15, 2013 3:30 am
- Forum: Support
- Topic: rvhtmlviewimporter & html entities
- Replies: 8
- Views: 19475
rvhtmlviewimporter & html entities
I'm using rvhtmlviewimporter to import html to richviewedit. However the imported html with entities such as show up either as weird characters or '?'. Imported html: <html> <head> <title></title> <link REL="stylesheet" TYPE="text/css" HREF="demo.css"> </head> <body CLASS="indent"> <p CLASS ...