Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.


Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

New Contributor III

Data loading disturbed by an accidental character

Hi there,

the problem i am experiencing with some of my csv files is that Qlikview stops loading data from the file when it encounters a special character - a little right arrow. I have no idea how the arrow ended up in the raw data file. the excel function 'CODE' says that the ascii code for this character is 26. So i tried to replace these with the following line of script:

Replace(SURNAME, Chr(26), ' ') as SURNAME

but this does not work.

i could manually delete these columns that contain this guy but i'm not sure if i can catch them all.

Below is an example of the troublemaker -also in the attached file. Any ideas how to fix this?

Andrea Nicol

thanks in advance,


Tags (5)
2 Replies

Re: Data loading disturbed by an accidental character

I load your file without problem, below the script

But do you have problem with the excel you posted or with another (csv) file?




     replace(D, Chr(26), ' ') as D,




(ooxml, no labels, table is Sheet1);

New Contributor III

Re: Data loading disturbed by an accidental character


i've just noticed that this little annoying character didn't even show in the body of my previous post...

The excel that I uploaded was not the best example as I have now discovered that this problem occurs in CSV files only and also Qlikview will load the recordthat contains this character but will not load any recordsbelow that one. The excel had one record only so it will load anyway.

So in the beginning my load script ended with the following :

(txt, codepage is 1252, embedded labels, delimiter is ',', msq);

after ticking 'Ignore End of File' the problem seems to be sorted and the last line should look like that:

(txt, codepage is 1252, embedded labels, delimiter is ',', msq, no eof);


Community Browser