In Delphi 7 (for a lot of reasons I can't convert the application in Xe) I must generate the RTF string from a Chinese string that is stored into a UTF8 field (in Firebird 2.5 table).
For example I read the field value that contain the UTF8 value of the string "史蒂芬·克拉申" string into a wiredstring and then I should convert to a string like this 'ca\'b7\'b5\'d9\'b7\'d2\f1\'b7\f0\'bf\'cb\'c0\'ad\'c9\'ea\
The value of UTF8 field for the previous Chinese string is 'å²è’‚芬·克拉申'
How can I do that ?
I have done a lot of search but I haven't find solutions.
Please give me some advice to solve this problem.
Thanks Massimo