trichview.support
Re: Unicode error adding text |
Author |
Message |
Martin Holmes |
Posted: 02/13/2005 5:01:50 Hi Sergey, Magic! Don't know what I'd do without you. Cheers, Martin Sergey Tkachenko wrote: > 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