|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】unicode Strings
unicode strings
unicode strings
my application only supports unicode text. i want to get oddbtext elements as 2-byte wide character strings. are codepages always necessary for this?
if so, how do i figure out the appropriate codepage to use for gettings unicode strings from a given oddbdatabase? is it given somewhere else in the database?
i saw other posts on converting to unicode, but none seem to address whether you always need codepages or not.
thanks
dave
dwgcodepage
i believe the thing i was looking for was
oddbdatabase::getdwgcodepage
starting with 2.0 version odchar is wchar_t and unicode string can be obtained directly from odstring.
dd performs conversion to unicode at file loading now.
sergey slezkin
great, thanks.
|