[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - connectivity/source

Julien Nabet serval2412 at yahoo.fr
Sat Jun 24 17:51:05 UTC 2017


 connectivity/source/drivers/dbase/DTable.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 954931c86cf67876c8324acec31c3e95feeb6b4d
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jun 11 09:34:47 2017 +0200

    tdf#55631: DBASE import (take 2)
    
    if we can't read head db_frei part, let's also put by default
    m_eEncoding = RTL_TEXTENCODING_IBM_850;
    
    Change-Id: I97601ba4c782dcfc280e975cc4498ea68407dd48
    Reviewed-on: https://gerrit.libreoffice.org/38659
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Muthu Subramanian K <muthusuba at gmail.com>
    (cherry picked from commit 58bb9da339d61981d45cde8e38a2ce1ae33652c4)
    Reviewed-on: https://gerrit.libreoffice.org/38707
    Reviewed-by: Lionel Elie Mamane <lionel at mamane.lu>

diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 11d35d1359a1..9c3e777e74e2 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -280,6 +280,11 @@ void ODbaseTable::readHeader()
                             break;
                     }
                 }
+                else
+                {
+                    // Default Encoding
+                    m_eEncoding = RTL_TEXTENCODING_IBM_850;
+                }
                 break;
             case dBaseIVMemo:
                 m_pFileStream->SetEndian(SvStreamEndian::LITTLE);


More information about the Libreoffice-commits mailing list