![]() |
【转帖】unicode, Odstring And Dwgdirect 2.2.0, 2.3.0
unicode, odstring and dwgdirect 2.2.0, 2.3.0
unicode, odstring and dwgdirect 2.2.0, 2.3.0 hi, i need to put some texts in chinesse in old acad unicode format ("\m+0c5d3") to external file from dwg file. is there a way to get unicode characters/texts from odstring objects in old acad format (before acad 2007) like i.e. "\m+0c5d3" not as wchar_t buffer? before dwgdirect 2.2.0 odstring object could retrive unicode text in such a format. regards savip unicode characters were represented in acad as \u+xxxx where xxxx is hexadecimal value of unicode character. \m+nxxxx means: n - number from 1 to 5 indicating one of supported by autocad asian code pages and xxxx hexadecimal value of mbcs character in the code page. could you provide more details of the problem you have? sergey slezkin i just want to get unicode string from odstring in earlier dwgdirect (i.e. 2.11) notation: i want to get "\u+xxxx" instead of wchar_t buffer for a unicode character/string. is it possible to get it from odstring or other dwgdirect string object? or do i have to use utf coding/decoding functions (i.e. mfc functions) to create text in "\u+xxxx" notation? i need it to write such a string to a file, which accepts unicode texts in "\u+xxxx" notation, not as wchar_t buffers. regards |
所有的时间均为北京时间。 现在的时间是 05:19 PM. |