Maybe the file has encoding different from UTF-8?

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
I keep getting this error message when linking txt file to lists, even for txt as simple as this

bbb
aaa
ccc


A new thing in 5.4?
 
Последнее редактирование:

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Yes you need to convert and prepare txt files in UTF-8
You can do this easily with NotePad++
 

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
The problem is that the default format of txt files created in Windows is in ANSI.
Could you make ZP compatible with that?

Manually changing format for all txt files is possible, but we can easily miss some of them, causing errors, especially for older projects.
 
Последнее редактирование:

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
For cyrillic and chinese characters UTF-8 is needed. we use this format since ZennoPoster 3
 

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
The problem is that the files generated by the "Write to file" action by ZP itself is not in UTF-8 (Write a blank line to generate file, then use Bind to file to add data). Loading a such generated file into a list will give me "different from UTF-8" error.

There's no cyrillic and chinese characters in those files, and I am using an English version of Windows, even though I have selected Chinese as the language for non-unicode programs in Control Panel.


Now ZP is not accepting the files ZP generates.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Next build will have checkbox for this popup window which will allow you to ignore this warning)
 

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
This warning means there could be error arising right?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
If you dont have non latin characters everything should be fine
 

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