Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem reading csv file with special character

Former Member
0 Likes
517

Hai all,

i have the following problem reading a csv file.

442050-Operations Tilburg algemeen Huis in t Veld, EAM (Lisette) Gebruikersaccount 461041 Peildatum: 4-5-2010 AA461041 1 85,92

when reading this line with FM GUI_UPLOAD this line is split up in two lines in data_tab of the FM,

it is split up at this character

Line 1

442050-Operations Tilburg algemeen Huis in

Line 2

t Veld, EAM (Lisette) Gebruikersaccount 461041 Peildatum: 4-5-2010 AA461041 1 85,92

Anyone have a idea how to get this in one line in my interbal table??

Greetz Richard

Hai all,

i have the following problem reading a csv file.

442050-Operations Tilburg algemeen Huis in t Veld, EAM (Lisette) Gebruikersaccount 461041 Peildatum: 4-5-2010 AA461041 1 85,92

when reading this line with FM GUI_UPLOAD this line is split up in two lines in data_tab of the FM,

it is split up at this character

Line 1

442050-Operations Tilburg algemeen Huis in

Line 2

t Veld, EAM (Lisette) Gebruikersaccount 461041 Peildatum: 4-5-2010 AA461041 1 85,92

Anyone have a idea how to get this in one line in my interbal table??

Greetz Richard

1 REPLY 1
Read only

former_member214857
Contributor
0 Likes
378

Hi Greetz Richard

Problably character contains same binary code as line feed + carriage return.

You can use statement below as workaround.

OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING UNICODE

In this case your system must support Unicode encoding

Kind regards