![]() |
【转帖】control codes and special characters
control codes and special characters
control codes and special characters hi, is there any function or a flag for an automatic conversion of control codes like %%nnn? since the toolkit provides direct unicode support, my code to get the text from an odstring is the following: code: void copytext(const odstring *podacadtext, wchar** pwcsvptext ) { *pwcsvptext = new wchar[podacadtext->getlength() + 1]; if( podacadtext->getlength() == 0 ) (*pwcsvptext)[0] = 0; wcscpy( *pwcsvptext, podacadtext->c_str() ); } i had hoped that the unicode support would also include the handling of control codes - with my code, it doesn't. any ideas? torsten quote: originally posted by torsten hi, is there any function or a flag for an automatic conversion of control codes like %%nnn? hello torsten, there is no such support. this sequence is used as character code in text entity only and processed in text iterator. best regards, sergey z. hi, thanks for this information! torsten |
所有的时间均为北京时间。 现在的时间是 04:28 AM. |