TW plain text export & Windows Notepad

119 views
Skip to first unread message

A Gloom

unread,
Jun 3, 2019, 9:54:31 PM6/3/19
to TiddlyWiki
For anyone who has wondered why plain text exporting of a single tiddler in single file TW using the custom plain text export format detailed at https://tiddlywiki.com/#Creating%20a%20custom%20export%20format doesn't display properly in Windows Notepad, here is why. Notepad in Win8 and earlier will not display line breaks unless it's CR+LF line breaks so it will display the text in one continuous line.  But do not despair-- the line breaks are there-- other programs like Notepad ++ and Firefox will properly display the line breaks.  Notepad in later versions of Win10 will display linebreaks correctly.

What can be done about it, is after exporting the plain text, open it in Notepad ++ and under the edit menu go to "EOL Conversion" and select "Windows (CR/LF)".  Then save the file and Notepad will display the text with line breaks.  Other text editors can probably also do this.

TonyM

unread,
Jun 3, 2019, 10:02:30 PM6/3/19
to TiddlyWiki
Hey thanks for Sharing.

A related method

I have installed a Generic pain text printer in Windows on the port FILE: I open a given tiddler in a new window and Use the browser print function (Sadly not in TiddlyDesktop)  and print to this printer. This way I can name the file output to name.txt name.cmd etc... and save it where I wish.

Regards
Tony

Greg Davis

unread,
Jun 4, 2019, 10:45:44 AM6/4/19
to TiddlyWiki
You can also open in Wordpad and then save. Works at least in XP, don't have 8 or 10 handy to check. Use this trick on other files that some programs create.

Ste Wilson

unread,
Jun 5, 2019, 4:42:39 AM6/5/19
to TiddlyWiki
Why install something which actually hurts you? ;) (your Generic pain text printer)...

TonyM

unread,
Jun 5, 2019, 5:25:34 AM6/5/19
to TiddlyWiki
I never even tripped over my plain text printer since it only a software driver. How can it hurt?

tony

Message has been deleted

Ste Wilson

unread,
Jun 5, 2019, 3:17:38 PM6/5/19
to TiddlyWiki
Tony typoed and missed the l so had a pain text editor, not a plain text editor. That's all.
Message has been deleted

TonyM

unread,
Jun 5, 2019, 7:17:56 PM6/5/19
to TiddlyWiki
Ste,

Ahh we don't always see our own typos do we, but they stand out to others.

Tony

A Gloom

unread,
Jun 5, 2019, 11:39:06 PM6/5/19
to TiddlyWiki
On Tuesday, June 4, 2019 at 10:45:44 AM UTC-4, Greg Davis wrote:
You can also open in Wordpad and then save. Works at least in XP, don't have 8 or 10 handy to check. Use this trick on other files that some programs create.

 >< !!!

You don't want to know how long I have been using Win 8 without realizing it had Wordpad

Much gratitude for reminding it was still there : )

A Gloom

unread,
Jun 5, 2019, 11:47:54 PM6/5/19
to TiddlyWiki
I have installed a Generic pain text printer in Windows on the port FILE: I open a given tiddler in a new window and Use the browser print function (Sadly not in TiddlyDesktop)  and print to this printer. This way I can name the file output to name.txt name.cmd etc... and save it where I wish.
 
ty for remindiing of that trick-- haven't used ir in a long while-- the plain text, not the pain text : P

I have pain debugging, FF shows white screens for XML errors, so I get painfully made aware of code errors.
Reply all
Reply to author
Forward
0 new messages