高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】why Odstring...unicodebuffer Is Empty
why odstring...unicodebuffer is empty ?
why odstring...unicodebuffer is empty ?
hello,
to write correctly japanese texts (my oddbtextiterator returns wrong characters), i want to use the unicodebuffer i get in "void listfiller::wrstring(int groupcode, const odstring& string)" through the string argument.
in your odamfcappdll sample, this field is not empty.
but in my app, this field is empty. what initialization should i have forgotten ?
thank you in advance for your help.
best regards.
odstring can store unicode characters or an ansi string (non-unicode characters and their code page id).
so in debugger you may see zero unicode buffer even for non-empty string. any attempt to access odstring unicode value via api will synchronize the unicode buffer.
sergey slezkin
|