Hi,
To be able to query a database table's content we are using mdlDB_openCursorWithID() and mdlDB_fetchRowByID() functions along with MS_sqlda structure. But it returns (char *) data type as query result which is limited to 255 ASCII characters. But for multi-byte languages like Japanese, Korean and Arabic, we need the query result as MSWChar data type to support Unicode characters. Is there any solution to this?
Kind regards,
Sedat AlisAEC Technology Inc.
Sedat Alis said:But for multi-byte languages like Japanese, Korean and Arabic, we need the query result as MSWChar data type
The V8 APIs provide poor support for Unicode: in contrast, CONNECT is almost entirely Unicode.
Here's an article about the various MDL text types, in the MicroStation V8i SDK, and some suggestions to convert between them.
Sedat Alis said:v8i SS5
MicroStation SELECT Series 4 (SS4) progressed directly to SS10, without passing GO or any of the intermediate numbers. What's SS5?
Regards, Jon Summers LA Solutions
Jon Summers said:MicroStation SELECT Series 4 (SS4) progressed directly to SS10, without passing GO or any of the intermediate numbers. What's SS5?
It is AECOsim Building Designer v8i SS5. :) I updated the subject. Thanks.
Jon Summers said:The V8 APIs provide poor support for Unicode: in contract, CONNECT is almost entirely Unicode.
Thank you but I need it on ABD vi SS5. There must be a way to query multi-byte characters from database because AFAIK Japanese and Korean versions of the application exist.
Sedat Alis said:There must be a way to query multi-byte characters from database because AFAIK Japanese and Korean versions of the application exist.
A question is whether Bentley implemented such support using classic MDL API or these applications have own SQL interface parallel to existing one, implemented using C++ library or NET API.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point