Page 1 of 1

create new txt file in utf-8

Posted: 2012-11-22, 06:54 UTC
by hius07
Can I enforce TC to create new txt file in utf-8 encoding?
Now if I write only Russian characters (non-ASCII) the file is saved in Windows-1251.

It seems that it would be enough to change end of the string from CR+LF to LF.

Re: create new txt file in utf-8

Posted: 2012-11-22, 10:29 UTC
by Stefan2
hius07 wrote:the file is saved in Windows-1251.
On Android?
from CR+LF to LF.
That's a different thing then unicode anyway.

Re: create new txt file in utf-8

Posted: 2012-11-22, 11:50 UTC
by hius07
Stefan2 wrote:
hius07 wrote:the file is saved in Windows-1251.
On Android?
Yes. That is the question.

Posted: 2012-11-22, 14:17 UTC
by ghisler(Author)
2hius07
No you can't. The editor uses UTF-8 when needed, or when the opened file was already encoded with UTF-8. You could add a non-Russian character, save, then re-open the file and remove the character.