+[8.50b15 64] Create/rename error, hidden carriage return

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
TTux
Junior Member
Junior Member
Posts: 4
Joined: 2012-06-25, 06:15 UTC

+[8.50b15 64] Create/rename error, hidden carriage return

Post by *TTux »

When creating directories or renaming directories/files using text from the clipboard that has a carriage return, it has an error when saving.

Example: Open Lister and copied the following lines:

SAP CRYSTAL SERVER 2013
CLIENT COMPONENTS

Paste into the new folder window (F7)

The dialogue displays the following:
SAP CRYSTAL SERVER 2013CLIENT COMPONENTS

When pressing OK it returns with an access denied error.

It may be a problem with the source file as opening in lister displays the following:
SAP CRYSTAL SERVER 2013
CLIENT COMPONENTS
WITH SERVICE PACK 1
WINDOWS (32B/64B)
Number 51046785

Opening in notepad displays:
SAP CRYSTAL SERVER 2013CLIENT COMPONENTSWITH SERVICE PACK 1WINDOWS (32B/64B)Number 51046785

You may play with this text file here
https://mega.co.nz/#!25503ZIQ!dVRvEUgEMFAcLNMqdm_HoFbPpksHAsbVL3ZP6QMC-JQ
User avatar
Dalai
Power Member
Power Member
Posts: 9966
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

These are not hidden carriage returns but normal line feeds as used on Linux systems. That's why Notepad can't display them correctly (Linux doesn't exist in Microsoft's opinion ;)).

Note:
Windows systems use CRLF
Linux systems use LF only
MacOS systems use CR only

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
TTux
Junior Member
Junior Member
Posts: 4
Joined: 2012-06-25, 06:15 UTC

Post by *TTux »

Thanks Dalai :)

I didn't know how to explain the title / description

Edit: Should of also mentioned that if this is just something that Operating Systems do with poor integration; that it's not a TC bug (or something that it cannot fix) then you can delete this post.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I can try to filter it out, or show an error.
Author of Total Commander
https://www.ghisler.com
vudu
Junior Member
Junior Member
Posts: 27
Joined: 2011-12-04, 19:52 UTC

Post by *vudu »

Maybe it's best to filter out all control characters (i.e. below #32).
Personal licence #263866
Post Reply