Table parses CSV incorrectly

moookie

Новичок
Регистрация
26.05.2014
Сообщения
9
Благодарностей
0
Баллы
1
Hi In my CSV File I have a long numeric value

I.E. 0085003900167367 when I retrieve this value from the file with the Table function it gets transformed to something completely different like : 0.8500390016739E which makes is unusable for me.

Any way to avoid this ? I assume this has to to do that the table function does not handle this column/cell as a TEXT value.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 341
Благодарностей
5 877
Баллы
113
That's how data from your CSV file were converted to UTF-8 encoding. To avoid the problem you should change content encoding in your CSV file to UTF-8.
 

moookie

Новичок
Регистрация
26.05.2014
Сообщения
9
Благодарностей
0
Баллы
1
The file is a CSV file in UTF8 ... Still experience the problem though
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 341
Благодарностей
5 877
Баллы
113

moookie

Новичок
Регистрация
26.05.2014
Сообщения
9
Благодарностей
0
Баллы
1
I was unable to upload a CSV file, but if you create one with the following content and load it in a list you will see it in action:

John,12100331207988172284

What is the best way to solve this issue ?
 
Последнее редактирование:

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 341
Благодарностей
5 877
Баллы
113

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 341
Благодарностей
5 877
Баллы
113
What ZP version do you have?
 

moookie

Новичок
Регистрация
26.05.2014
Сообщения
9
Благодарностей
0
Баллы
1
The latest pro version. Please note that the separator for the file is a comma ( , ) . If you load it like that it will occur
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 341
Благодарностей
5 877
Баллы
113

Nick

Client
Регистрация
22.07.2014
Сообщения
1 980
Благодарностей
809
Баллы
113
In Excel you can put a single quote sign like this: ' - before the number. Then it won't be normalized. Try it in a file, it could help.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 341
Благодарностей
5 877
Баллы
113

Кто просматривает тему: (Всего: 2, Пользователи: 0, Гости: 2)