RvHtmlImporter vs RichViewEdit

General TRichView support forum. Please post your questions here
Post Reply
Vadim
Posts: 3
Joined: Tue Dec 12, 2006 2:38 pm

RvHtmlImporter vs RichViewEdit

Post by Vadim »

I've experienced the same problem as was discussed at: http://www.trichview.com/forums/viewtop ... ode+import.

HTML entities like & # 8211; – are not imported correctly.

I tried to export ActionsTest example page to string and import back to RichViewEdit:

// Export to string
stream:=TStringStream.Create('');
RichViewEdit1.SaveHTMLToStream(stream,'c:\aaa\','','',[]);

// Import back to RichViewEdit
str:=stream.DataString;
RvHtmlImporter1.LoadHtml(str);
RichViewEdit1.Format;

An exception in ConvertCData occured as a result.

The latest answer in the topic above was that fixed version uploaded, but I downloaded trial version just yesterday - the problem still exists.

Is it due to trial version restrictions?

Any help would be appreciated. HTML import/export is extremely important for my needs.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, the change was incorrect for non-UTF8 HTML.
Fixed version uploaded
Vadim
Posts: 3
Joined: Tue Dec 12, 2006 2:38 pm

Post by Vadim »

Thank you, Sergey!
Post Reply