I export some info from sqlite database to csv file.
The data in database are in Greek.
The code I use to save data is
But when I open the CSV file I cant read anything and the excel show something like.
How I can fix it?
The data in database are in Greek.
The code I use to save data is
B4X:
Public Sub SaveTableToCSV(Dir As String, Filename As String)
Dim headers(mNumberOfColumns) As String
For i = 0 To headers.Length - 1
Dim L As Label
L = Header.GetView(i)
headers(i) = L.Text
Next
StringUtils1.SaveCSV2(Dir, Filename, ",", Data, headers)
End Sub
But when I open the CSV file I cant read anything and the excel show something like.
Ξ—ΞΌΞ½Ξ―Ξ±,Ξ Ξ±ΟαστατικΟ,Αιτιολογία,Ξ§ΟΞωση,Πίστωση,ΥπΟλοιπο
,,Εκ μεταφοΟάς (Ξως 30/06/2019),0.00 €,0.00 €,782.22 €
,ΑΕΠ-Ξ§-03664,ΑπΟδειξη είσπΟΞ±ΞΎΞ·Ο‚ ΑΠΔ Ξ” ΞΞΏ 9886,0.00 €,758.75 €,-758.75 €
15/07/2019,ΤΔΑ-11537,ΤιμολΟΞ³ΞΉΞΏ Ξ Ολησης - Δελτίο αποστολής ,368.99 €,0.00 €,-389.76 €
07/08/2019,ΤΔΑ-11956,ΤιμολΟΞ³ΞΉΞΏ Ξ Ολησης - Δελτίο αποστολής ,289.35 €,0.00 €,-100.41 €
12/08/2019,ΑΕΠ-Ξ§-03800,ΑπΟδειξη είσπΟΞ±ΞΎΞ·Ο‚ ΑΠΔ Ξ– ΞΞΏ 9419,0.00 €,658.34 €,-758.75 €
24/09/2019,ΤΔΑ-12613,ΤιμολΟΞ³ΞΉΞΏ Ξ Ολησης - Δελτίο αποστολής ,409.66 €,0.00 €,-349.09 €
,,Ξ£Ονολα,1068.00 €,1417.09 €,-349.09 €
How I can fix it?