https://bugs.freedesktop.org/show_bug.cgi?id=76739

          Priority: medium
            Bug ID: 76739
          Assignee: [email protected]
           Summary: FILTER: can't import csv UTF-8 for non english
                    languages with macros
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.2.2.1 release
         Component: Spreadsheet
           Product: LibreOffice

Created attachment 96535
  --> https://bugs.freedesktop.org/attachment.cgi?id=96535&action=edit
file in UTF-8

Problem description: 
can't import csv UTF-8 for non english languages using macros only if opened
CSV by hand and choose UTF-8.

Steps to reproduce:
Use the following macros and files that i attached
Sub ImportCSV

oSheet = thisComponent.Sheets(0)

Dim aProps(1) as new com.sun.star.beans.PropertyValue

Url = "file:///dev/shm/import.csv"

aProps( 0 ).name = "FilterName"
aProps( 0 ).Value = "Text - txt - csv (StarCalc)"
aProps( 1 ).name = "FilterData"
aProps( 1 ).Value = "44,34,76,1,1"

oExport = StarDesktop.loadComponentFromURL( Url, "_blank", 0, aProps() )

End Sub

Current behavior:
Opens CSV file as new ODS file but Ukrainian and Russian languages aren't
decoded.

Expected behavior:
Opens CSV file as new ODS file and decodes everything correctly.
Operating System: All
Version: 4.2.2.1 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to