Thread overview
Unicode and SQL
Apr 20, 2004
W³odzimierz Skiba
Apr 21, 2004
Walter
Apr 21, 2004
W³odzimierz Skiba
Apr 22, 2004
Walter
April 20, 2004
Hi,

there is (in 2.5.1/CVS Head wxWidgets) only one build I can't do currently with DMC. It is ODBC + Unicode. This seems not supported neither with free not full DMC release. Walter, any plans on supporting Unicode in ODBC/SQL support ? At this moment I can do it with all other free and free-like compilers.

ABX
April 21, 2004
"W³odzimierz Skiba" <abx@abx.art.pl> wrote in message news:c63b5j$2gg1$1@digitaldaemon.com...
> Hi,
>
> there is (in 2.5.1/CVS Head wxWidgets) only one build I can't do currently with DMC. It is ODBC + Unicode. This seems not supported neither with free not full DMC release. Walter, any plans on supporting Unicode in ODBC/SQL support ? At this moment I can do it with all other free and free-like compilers.

I have no idea what that entails. Some details please!


April 21, 2004
"Walter" <walter@digitalmars.com> wrote in news:c64uq2$27tc$2@digitaldaemon.com:
> > there is (in 2.5.1/CVS Head wxWidgets) only one build I can't do currently with DMC. It is ODBC + Unicode. This seems not supported neither with free not full DMC release. Walter, any plans on supporting Unicode in ODBC/SQL support ? At this moment I can do it with all other free and free-like compilers.
> 
> I have no idea what that entails. Some details please!

For example let's quote selected lines of sqltypes.h in each package.

DMC has only:

   typedef UCHAR SQLCHAR;

Borland 5.5, Open Watcom 1.2 and MinGW has it elaborated like:

    typedef unsigned char   SQLCHAR;

    #ifdef _WCHAR_T_DEFINED
        typedef wchar_t SQLWCHAR;
    #else
        typedef unsigned short SQLWCHAR;
    #endif

    #ifdef UNICODE
        typedef SQLWCHAR        SQLTCHAR;
    #else
        typedef SQLCHAR         SQLTCHAR;
    #endif  /* UNICODE */

ABX
April 22, 2004
Ok, so the sqltype.h is out of date. I'll add it to the bug list. -Walter

"W³odzimierz Skiba" <abx@abx.art.pl> wrote in message news:c657r3$2m9t$1@digitaldaemon.com...
> "Walter" <walter@digitalmars.com> wrote in news:c64uq2$27tc$2@digitaldaemon.com:
> > > there is (in 2.5.1/CVS Head wxWidgets) only one build I can't do currently with DMC. It is ODBC + Unicode. This seems not supported neither with free not full DMC release. Walter, any plans on supporting Unicode in ODBC/SQL support ? At this moment I can do it with all other free and free-like compilers.
> >
> > I have no idea what that entails. Some details please!
>
> For example let's quote selected lines of sqltypes.h in each package.
>
> DMC has only:
>
>    typedef UCHAR SQLCHAR;
>
> Borland 5.5, Open Watcom 1.2 and MinGW has it elaborated like:
>
>     typedef unsigned char   SQLCHAR;
>
>     #ifdef _WCHAR_T_DEFINED
>         typedef wchar_t SQLWCHAR;
>     #else
>         typedef unsigned short SQLWCHAR;
>     #endif
>
>     #ifdef UNICODE
>         typedef SQLWCHAR        SQLTCHAR;
>     #else
>         typedef SQLCHAR         SQLTCHAR;
>     #endif  /* UNICODE */
>
> ABX