text file format

nitin2003

Client
Регистрация
18.09.2012
Сообщения
195
Благодарностей
11
Баллы
18
Hi,

I sold a bot to one of my client. He want to use special characters in the file.

When I use the template on my machine, it runs fine and take special characters like (,"!~^) properly but on his machine the format changes and these are not parsed properly.

The template reads a line from the file and deletes it.
The actual problem is when he creates a new file and use it, it works fine and takes the characters normally but when he runs the template again, the remaining lines have a different encoding and now ' is shown as a different special character.

So, e.g. if before posting text was like this:
Hi 'USER', How are you? ;
Hello "USER", How are you?;

So, after 1 iteration the file has this data:
Hello (some junk char)USER(some junk char), How are you?;


So, I was wondering if while saving the changes back to the text files, does zenno changes the encoding formats? Or is there any settings which I might be missing?

Thanks
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
What encoding do you use?
Try to use UTF-8
 

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