TC4A text editor: on PC, whole text is in one line?

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
miso00
Junior Member
Junior Member
Posts: 4
Joined: 2016-03-07, 19:29 UTC

TC4A text editor: on PC, whole text is in one line?

Post by *miso00 »

Hello,
I got a little problem with txt editor.
When I open txt created with android TCM in windows notepad, it shows whole txt in one line.
i.e., I create txt with 10 lines and when I transfer it to the PC I see all text in one line in notepad. No matter if I choose UTF-8 or not. Why ? How can I change this ? Thanks.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3861
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

This is due to the fact, that Android is Linux like.
This means a line break is just LineFeed (LF) while Windows uses CarrigeReturn and LineFeed (CR LF) for this purpose.

Simple Notepad cannot handle this correctly.
Use at least Wordpad or a real editor like notepad++ to display it correctly.
#5767 Personal license
miso00
Junior Member
Junior Member
Posts: 4
Joined: 2016-03-07, 19:29 UTC

Post by *miso00 »

Thanks a lot for explanation.
Post Reply