You are here: PSPad forum > Bug report / Hlášení chyb > Re: Unwanted and sudden converting to strange characters
Goto Page: Previous1 2 3 4 5 6 7 Next
Posted by: pspad | Date: 2021-05-05 08:12 | IP: IP Logged
Please update to current 5.0.7
Posted by: stanislav.mikusek | Date: 2021-06-05 21:07 | IP: IP Logged
I'm working all day with PsPad 64b 5.0.7(647), no bug occurred.
Posted by: Gorlash | Date: 2021-06-08 02:01 | 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:
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
Posted by: stanislav.mikusek | Date: 2021-06-11 10:34 | IP: IP Logged
After a week of working with the 5.0.7 version, the bug appears. Damn.
Never mind, PsPad is the best anyway. I'm checking ascii 0 in saved files.
Posted by: tfs | Date: 2021-06-15 13:51 | IP: IP Logged
I have seen this problem too. I save a php file but when I try to excetute it, it fails. I open the file and see that some part of code is converted into strange characters.
Posted by: stanislav.mikusek | Date: 2021-06-20 21:22 | IP: IP Logged
I'v bug only in files with a UNIX end of line.
I also have files with windows CR LF, there isn't problem.
I changed the style of work - converting a UNIX file to WINDOWS version for PSPad and after changing convert back.
No bug appears.
Posted by: Gorlash | Date: 2021-06-21 00:37 | IP: IP Logged
d
Edited 1 time(s). Last edit at 2021-06-21 00:37 by Gorlash.
Posted by: Gorlash | Date: 2021-06-21 00:39 | IP: IP Logged
stanislav.mikusek:I'v bug only in files with a UNIX end of line.
I also have files with windows CR LF, there isn't problem.I changed the style of work - converting a UNIX file to WINDOWS version for PSPad and after changing convert back.
No bug appears.
Sadly, as can be seen in my recent hex dump of my most recent experience with this bug, all of my newlines are DOS/Windows newlines (CR/LF), so that observation is not definitive for this bug...
Posted by: stanislav.mikusek | Date: 2021-06-29 13:18 | IP: IP Logged
Oops, the bug in CR/LF file. It doesn't help.
Posted by: akiuni | Date: 2021-07-19 09:10 | IP: IP Logged
Hello
This bugs is really annoying.
I'm using 5.0.7(665), the bug appears very often when closing a file (a tab), My language is Python.
Hope you will find a solution very quickly because it's occurig multiple times a day and corrups my scripts, which makes me thinking to change for another sofware.
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