Hi,
with codepage 1253
if you convert my ASCII char into WideChar (my Ascii char 196 will become 916 into wide).
so when i call ActiveText.Lines.Text i get invalid characters.
Is ActiveText.Lines.Text do some conversion?
Hi,
with codepage 1253
if you convert my ASCII char into WideChar (my Ascii char 196 will become 916 into wide).
so when i call ActiveText.Lines.Text i get invalid characters.
Is ActiveText.Lines.Text do some conversion?
Hi,
Thanks for your reply
"I am not so sure - how do you enter such unicode values in Delphi? "
This characters isn't Unicode it's just ASCII chars above 127
"You can follow the code into WPIOANSI.PAS in
function TWPTextReader.Parse(datastream: TStream): TWPRTFDataBlock;"
I see it calls PrintAByte but i can't see what happens next because i have WPToos standard license - no full source.
Can i ask if PrintAByte do any convertions with ASCII chars above 127?
Thanks in advanced
No answer yet...
I have a felling that Wptools 6 is incompatible with non Unicode Delphi versions with non English characters.
I have an wprichtext control named Test.
I use Delphi 2007
I do this simple code
Test.Text := 'Δοκιμή' --> greek characters.
but in wprichtext i get invalid characters.
when i try this code
Test.Memo._CodePage = 1253;
Test.Text := 'Δοκιμή' --> greek characters.
is see then text normal but when i call this line
Showmessage(Test.Lines.Text) i get invalid characters.
Is any solution for this?
Thanks in advanced.