Search found 6 matches

by cjw
Fri Feb 22, 2013 1:28 am
Forum: Support
Topic: rvhtmlviewimporter & html entities
Replies: 8
Views: 19621

Sent a project producing the problem to svt at trichview dot com.
by cjw
Tue Feb 19, 2013 2:30 am
Forum: Support
Topic: rvhtmlviewimporter & html entities
Replies: 8
Views: 19621

Problem solved by adding following code before loading html

Code: Select all

rv.Clear;
rv.Style.TextStyles[0].Unicode := true;
Thanks for the time.
by cjw
Mon Feb 18, 2013 1:08 am
Forum: Support
Topic: rvhtmlviewimporter & html entities
Replies: 8
Views: 19621

Delphi 6 with HTMLViewer 11.3.
by cjw
Fri Feb 15, 2013 6:16 am
Forum: Support
Topic: rvhtmlviewimporter & html entities
Replies: 8
Views: 19621

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;
by cjw
Fri Feb 15, 2013 6:12 am
Forum: Support
Topic: rvhtmlviewimporter & html entities
Replies: 8
Views: 19621

Yes using rvhtmlviewimporter. Documents shows up fine in THTMLViewer.
by cjw
Fri Feb 15, 2013 3:30 am
Forum: Support
Topic: rvhtmlviewimporter & html entities
Replies: 8
Views: 19621

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