trichview.com

trichview.support




Re: Unicode error adding text


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/12/2005 20:10:57


Well, RVData.AddTextNLW is different from RichView.AddTextNLW.


In RichView.AddTextNLW, the text parameter is of WideString tag.

In RVData.AddTextNLW, the text parameter is of String type and must contain

"raw unicode" (unicode encoded in String, 2 adjacent characters represent

one unicode character.


If SomeText is WideString, use


uses RVUni;

RVD.AddTextNLW(RVU_GetRawUnicode(SomeText), ...);


If SomeText is String, better use  AddTextNLA






Powered by ABC Amber Outlook Express Converter