Ignore:
Timestamp:
Mar 31, 2007, 6:22:28 PM (18 years ago)
Author:
dmik
Message:

Kernel: Added initial DBCS input/output support (thanks to Ko Myung-Hun for patches).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tools/qstring.cpp

    r119 r169  
    70197019}
    70207020
    7021 // WATCH OUT: mblen must NOT include the NUL (in contrast with qt_winMB2QString) 
     7021// WATCH OUT: mblen must NOT include the NUL (in contrast with qt_winMB2QString)
    70227022QString qt_os2MB2QString( const char* mb, int mblen )
    70237023{
     
    70707070}
    70717071
     7072const char *qt_os2UconvFirstByteTable()
     7073{
     7074    static char achFirst[ 256 ] = { -1, };
     7075
     7076    if( achFirst[ 0 ] == -1 )
     7077        UniQueryUconvObject( qt_os2DefUconvObj(), NULL, 0, achFirst, NULL, NULL );
     7078
     7079    return achFirst;
     7080}
     7081
    70727082#endif // Q_OS_OS2
Note: See TracChangeset for help on using the changeset viewer.