You are here: PSPad forum > English discussion forum > Re: strange characters replace brackets or even "else"
Posted by: Gorlash | Date: 2021-06-07 23:24 | IP: IP Logged
This one issue is your curse, isn't it, PsPad Master???
If you could fix this one thing, so that it never came back, you could *almost* just retire!!!
I had to stop using PsPad at my last contract job, because this popped up inside a comment, and broke our Git versioning software when I submitted merge request... they demanded that I switch to another editor, which really sucked...
Everyone has a demon or two, but this one you can't hide from at all, huh?!?!
I'm glad you continue to try to pursue it...
Posted by: pspad | Date: 2021-06-08 03:01 | IP: IP Logged
I ask again. Does it hapoen in the current 5.0.7 builds?
Posted by: idefix2 | Date: 2021-06-08 11:08 | IP: IP Logged
It happended to me just after installing the latest version. I am not sure, though, if these strange characters were already in the file before.
It was an ini-file, and the corresponding program just ignores such lines, so I can't say for sure how long they have alresdy been there.
It may be an issue that only happens when editing several files side by side. The reason I think this is the case is because this inserted text contained, embedded in the garbage, some short segments of text that obviously came from another file that I often edit in parallel.
Posted by: Gorlash | Date: 2021-06-09 23:26 | IP: IP Logged
Wow, not even two hours into using V5.07, and I got bitten by this bug...
I don't seem to be able to copy the entire trashed line, which is some 280 characters long. So here is an image of the entire trash-line:
[url]https://www.flickr.com/photos/derelllicht/51232900663
[/url]
Here is what the code looked like before being pspad-ed:
printf("Last logon: %s [%"PRIu64"]\n", ctm, (u64) max_logon_time) ; //lint !e571
#endif
// look at current time
Here is what the trashed section looks like in a hex dump:
023A0: 20 20 20 70 72 69 6E 74 66 28 22 4C 61 73 74 20 | printf("Last |
023B0: 6C 6F 67 6F 6E 3A 20 25 73 20 5B 25 22 50 52 49 | logon: %s [%"PRI |
023C0: 75 36 34 22 5D 5C 6E 22 2C 20 63 74 6D 2C 20 28 | u64"]\n", ctm, ( |
023D0: 75 36 34 29 20 6D 61 78 5F 6C 6F 67 6F 6E 5F 74 | u64) max_logon_t |
023E0: 69 6D 65 29 20 3B 20 20 2F 2F 6C 69 6E 74 20 21 | ime) ; //lint ! |
023F0: 65 35 37 31 0D 0A 20 20 20 0D 0A 20 20 20 0D 0A | e571.. .. .. |
02400: 23 65 3F 3F 69 66 00 4D 00 00 3F 3F 00 00 00 00 | #e??if.M..??.... |
02410: 00 00 3F 00 00 00 00 00 00 00 00 00 04 00 3F 3F | ..?...........?? |
02420: 3F 3F 00 00 00 00 00 00 49 00 3F 3F 00 00 00 00 | ??......I.??.... |
02430: 3F 3F 3F 00 00 00 00 00 00 00 01 00 04 00 3F 3F | ???...........?? |
02440: 00 00 00 00 00 00 6E 00 6E 00 3F 3F 00 00 00 00 | ......n.n.??.... |
02450: 3F 3F 3F 00 00 00 00 00 00 00 3F 02 01 00 02 00 | ???.......?..... |
02460: 0D 0A 00 6E 75 49 74 65 6D 00 3F 3F 00 00 00 00 | ...nuItem.??.... |
02470: 3F 3F 3F 00 00 00 00 00 00 00 3F 4A 3F 3F 05 00 | ???.......?J??.. |
02480: 08 00 00 00 65 73 00 61 79 00 3F 3F 00 00 00 00 | ....es.ay.??.... |
02490: 3F 3F 3F 00 00 00 00 00 00 00 3F 02 01 00 03 00 | ???.......?..... |
024A0: 4E 34 38 00 00 74 72 61 79 00 3F 3F 00 00 00 00 | N48..tray.??.... |
024B0: 3F 3F 3F 00 00 00 00 00 00 00 3F 02 01 00 09 00 | ???.......?..... |
024C0: 50 6F 70 75 70 53 61 76 65 00 3F 3F 00 00 00 00 | PopupSave.??.... |
024D0: 3F 3F 3F 00 00 00 00 00 00 00 3F 02 01 00 03 00 | ???.......?..... |
024E0: 4E 33 38 00 69 63 6B 00 00 00 3F 3F 00 00 00 00 | N38.ick...??.... |
024F0: 3F 3F 3F 00 00 00 00 00 00 00 3F 02 01 00 09 0D | ???.......?..... |
02500: 0A 20 20 20 0D 0A 20 20 20 2F 2F 20 20 6C 6F 6F | . .. // loo |
02510: 6B 20 61 74 20 63 75 72 72 65 6E 74 20 74 69 6D | k at current tim |
02520: 65 0D 0A 20 20 20 5F 74 7A 73 65 74 28 29 3B 0D | e.. _tzset();. |
So it is only the #endif line which was destroyed...
My OS info:
Edition Windows 10 Pro
Version 20H2
Installed on 02/08/21
OS build 19042.928
Experience Windows Feature Experience Pack 120.2212.551.0
I'm editing two .cpp files and one .htm file
Edited 2 time(s). Last edit at 2021-06-09 23:29 by Gorlash.
Posted by: Gorlash | Date: 2021-06-09 23:27 | IP: IP Logged
Yes, it does... see my associated post here...
Posted by: Gorlash | Date: 2021-06-21 15:12 | IP: IP Logged
pspad:I ask again. Does it happen in the current 5.0.7 builds?
Yes, it does... see my most-recent post
Posted by: marc77 | Date: 2021-06-28 08:22 | IP: IP Logged
I had the some problem in my php files with the latest version. In Version 5.0.4 this problem does not happen. Thats the reason why I downgrade to this version.
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR