Page 1 of 1

RvHtmlImporter vs RichViewEdit

Posted: Tue Dec 12, 2006 3:03 pm
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.

Posted: Thu Dec 14, 2006 1:31 pm
by Sergey Tkachenko
Sorry, the change was incorrect for non-UTF8 HTML.
Fixed version uploaded

Posted: Thu Dec 14, 2006 1:58 pm
by Vadim
Thank you, Sergey!