Thema:
Write data from NAV to a CSV-file.
If I declare the File variable as a File I got wrong letters in CSV-file especially for Danish characters æ, ø and å.
Therefore I use an Automation
'Microsoft ActiveX Data Objects 2.8 Library'.Stream
Then I can encode the file in UTF-8-format.
The pseudo code is as following
CLEAR(FFile);
CREATE(FFile);
FFile.Open;
FFile.Charset('UTF-8');
Repeat
FFile.WriteText(Data)
Until end_of_data
The problem is that all data in CSV-file is in the same line instead of a line per data. No linefeed after exported data record
How can I avoid this ?
*This post is locked for comments