高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|