View | Details | Raw Unified | Return to issue 18728
Collapse All | Expand All

(-)sc/source/ui/docshell/docsh8.cxx (+4 lines)
Lines 315-320 ULONG ScDocShell::DBaseImport( const Str Link Here
315
    ULONG nErr = eERR_OK;
315
    ULONG nErr = eERR_OK;
316
    long i;
316
    long i;
317
317
318
    // Try to get the Text Encoding from the driver
319
    if(eCharSet == RTL_TEXTENCODING_IBM_850)
320
        eCharSet = RTL_TEXTENCODING_DONTKNOW;
321
318
    try
322
    try
319
    {
323
    {
320
        String aTabName;
324
        String aTabName;
(-)connectivity/source/drivers/dbase/DTable.cxx (+11 lines)
Lines 292-297 void ODbaseTable::readHeader() Link Here
292
                        //case 0x69: m_eEncoding = ; break; 	// Mazovia (Polish) MS-DOS
292
                        //case 0x69: m_eEncoding = ; break; 	// Mazovia (Polish) MS-DOS
293
                        case 0x6A: m_eEncoding = RTL_TEXTENCODING_IBM_737; break; 	    // Greek MS-DOS (437G)
293
                        case 0x6A: m_eEncoding = RTL_TEXTENCODING_IBM_737; break; 	    // Greek MS-DOS (437G)
294
                        case 0x6B: m_eEncoding = RTL_TEXTENCODING_IBM_857; break; 	    // Turkish MS-DOS
294
                        case 0x6B: m_eEncoding = RTL_TEXTENCODING_IBM_857; break; 	    // Turkish MS-DOS
295
                        case 0x6C: m_eEncoding = RTL_TEXTENCODING_IBM_863; break;       // MS-DOS, Canada
296
                        case 0x78: m_eEncoding = RTL_TEXTENCODING_MS_950; break;        // Windows, Traditional Chinese
297
                        case 0x79: m_eEncoding = RTL_TEXTENCODING_MS_949; break;        // Windows, Korean (Hangul)
298
                        case 0x7A: m_eEncoding = RTL_TEXTENCODING_MS_936; break;        // Windows, Simplified Chinese
299
                        case 0x7B: m_eEncoding = RTL_TEXTENCODING_MS_932; break;        // Windows, Japanese (Shift-jis)
300
                        case 0x7C: m_eEncoding = RTL_TEXTENCODING_MS_874; break;        // Windows, Thai
301
                        case 0x7D: m_eEncoding = RTL_TEXTENCODING_MS_1255; break;       // Windows, Hebrew
302
                        case 0x7E: m_eEncoding = RTL_TEXTENCODING_MS_1256; break;       // Windows, Arabic
295
                        case 0x96: m_eEncoding = RTL_TEXTENCODING_APPLE_CYRILLIC; break; 	// Russian Macintosh
303
                        case 0x96: m_eEncoding = RTL_TEXTENCODING_APPLE_CYRILLIC; break; 	// Russian Macintosh
296
                        case 0x97: m_eEncoding = RTL_TEXTENCODING_APPLE_CENTEURO; break; 	// Eastern European Macintosh
304
                        case 0x97: m_eEncoding = RTL_TEXTENCODING_APPLE_CENTEURO; break; 	// Eastern European Macintosh
297
                        case 0x98: m_eEncoding = RTL_TEXTENCODING_APPLE_GREEK; break; 	// Greek Macintosh
305
                        case 0x98: m_eEncoding = RTL_TEXTENCODING_APPLE_GREEK; break; 	// Greek Macintosh
Lines 299-305 void ODbaseTable::readHeader() Link Here
299
                        case 0xC9: m_eEncoding = RTL_TEXTENCODING_MS_1251; break; 	    // Russian Windows
307
                        case 0xC9: m_eEncoding = RTL_TEXTENCODING_MS_1251; break; 	    // Russian Windows
300
                        case 0xCA: m_eEncoding = RTL_TEXTENCODING_MS_1254; break; 	    // Turkish Windows
308
                        case 0xCA: m_eEncoding = RTL_TEXTENCODING_MS_1254; break; 	    // Turkish Windows
301
                        case 0xCB: m_eEncoding = RTL_TEXTENCODING_MS_1253; break; 	    // Greek Windows
309
                        case 0xCB: m_eEncoding = RTL_TEXTENCODING_MS_1253; break; 	    // Greek Windows
310
                        case 0xCC: m_eEncoding = RTL_TEXTENCODING_MS_1257; break;       // Windows, Baltic
302
                        default:
311
                        default:
312
                            // Default Encoding
313
                            m_eEncoding = RTL_TEXTENCODING_IBM_850;
303
                            break;
314
                            break;
304
                    }
315
                    }
305
                }
316
                }

Return to issue 18728