You are here: PSPad forum > Bug report / Hlášení chyb > Re: Unwanted and sudden converting to strange characters

Re: Unwanted and sudden converting to strange characters

Goto Page: Previous1 2 3 4

#31 Re: Unwanted and sudden converting to strange characters

Posted by: khagaroth | Date: 2020-08-01 08:20 | IP: IP Logged

Diff tool is unrelated. No need for any external tools or plugins, it's PsPad itself that does the damage. I once got this on a plain TXT file without any syntax highlighting and without using any functions like search/replace, just plain manual text editing and then saving. Though it was a while ago, cca 2 years, no such issues with recent versions on such simple files, but it still occasionally happens on more complex files/with more complex editing.

Options: Reply | Quote | Up ^


#32 Re: Unwanted and sudden converting to strange characters

Posted by: Andreas | Date: 2020-08-15 10:59 | IP: IP Logged

PSPad (32b) 504 (515)

I don't know when this file was destroyed.

image

Application error appeared after trying to close the file tab.

image

Error log:

Exception description:

Access violation at address 0040985E in module 'PSPad.exe'. Read of address 000000FF.

Exception class: EAccessViolation
Exception address: 0040985E
----------------------------------------------------------------------------------------------------
Stack list, generated 15.08.2020 12:59:21
[0040985E] System.TObject.Free + $6
[0063002E] Vcl.Themes.TSysStyleHook.DrawParentBackground + $52
[0040A1BC] System.TMonitor.CheckOwningThread + $4
[0040A4DE] System.TMonitor.Exit + $6
[0040A53A] System.TMonitor.Exit + $1A
[004D9DA2] System.Classes.RemoveFixups + $7E
[00409FF5] System.@BeforeDestruction + $9
[0054DFBE] Vcl.Graphics.TIconImage.Destroy + $E
[00409860] System.TObject.Free + $8
[0054B0F4] Vcl.Graphics.TSharedImage.Release + $18
[0054E356] Vcl.Graphics.TIcon.Destroy + $E
[00409860] System.TObject.Free + $8
[006736FD] Vcl.Forms.TCustomForm.Destroy + $B9
[00409860] System.TObject.Free + $8
[00679724] Vcl.Forms.TCustomForm.CMRelease + $0
[006AC9DE] Vcl.Controls.TControl.WndProc + $2BE
[006AD205] Vcl.Controls.TControl.WMMButtonDown + $1D
[006AC9DE] Vcl.Controls.TControl.WndProc + $2BE
[006B18C6] Vcl.Controls.TWinControl.WndProc + $686
[004EA7E8] System.Classes.StdWndProc + $14
[006B18C6] Vcl.Controls.TWinControl.WndProc + $686
[0040A828] System.TMonitor.TryEnter + $28
[0040A350] System.TMonitor.Enter + $10
[0040A1BC] System.TMonitor.CheckOwningThread + $4
[0040A53A] System.TMonitor.Exit + $1A
[0040A828] System.TMonitor.TryEnter + $28
[0040A350] System.TMonitor.Enter + $10
[006B1089] Vcl.Controls.TWinControl.IsControlMouseMsg + $65
[006B18C6] Vcl.Controls.TWinControl.WndProc + $686
[00674E09] Vcl.Forms.TCustomForm.WndProc + $691
[006B0E48] Vcl.Controls.TWinControl.MainWndProc + $2C
[004EA7E8] System.Classes.StdWndProc + $14
[0067EB53] Vcl.Forms.TApplication.ProcessMessage + $F3
[0067EB96] Vcl.Forms.TApplication.HandleMessage + $A
[0067EEC9] Vcl.Forms.TApplication.Run + $C9
[00ABC205] PSPad.PSPad (Line 119, "" + 55) + $7
----------------------------------------------------------------------------------------------------
Program : C:\Portable\PortableApps\_pspad\PSPad.exe 5.0.4 (515)
System : Windows 10 Home Edition x64, Version: 10.0, Build: 47BB,
Processor: Intel, Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz, 2590 MHz MMX
Display : 1920x1200 pixels, 32 bpp PPI: 96
Skin : Windows
----------------------------------------------------------------------------------------------------
Active Controls Hierarchy:
TPSSynEdit "FEditor1"
TfChildEdit "fEdit_E66840711"
----------------------------------------------------------------------------------------------------

Edited 1 time(s). Last edit at 2020-08-15 11:04 by Andreas.

Options: Reply | Quote | Up ^


#33 Re: Unwanted and sudden converting to strange characters

Posted by: Andreas | Date: 2020-08-15 11:14 | IP: IP Logged

Was able to click OK. Closed PSPad, started PSPad, opened the file again. Luckily the file was not saved.

image

Options: Reply | Quote | Up ^


#34 Re: Unwanted and sudden converting to strange characters

Posted by: syntech | Date: 2020-08-20 07:51 | IP: IP Logged

@jan:

Any progress here? Is this on your top priority list? Just asking...

Options: Reply | Quote | Up ^


#35 Re: Unwanted and sudden converting to strange characters

Posted by: pspad | Date: 2020-08-20 14:42 | IP: IP Logged

It's on my priority list, but I don't have point to start.
My suspicioun is on the PHP highlighter.
I changed memory manager in current 5.0.4 build, I am trying to find memory leaks.

But if the problem occurs in page drawing + folowed actions like highlight all selections e.t.c. it's very hard to find it.

Options: Reply | Quote | Up ^


#36 Re: Unwanted and sudden converting to strange characters

Posted by: syntech | Date: 2020-08-21 05:52 | IP: IP Logged

@jan:

Do you mean the highlighter for PHP code? I'm only using CPP highlighter because I'm C/C++ software developer. My strong feeling is, it has something to do with
'else' and curly brackets {}, because the garbage is either (in my case) after a closing } or where an 'else' is.

Options: Reply | Quote | Up ^


#37 Re: Unwanted and sudden converting to strange characters

Posted by: pspad | Date: 2020-08-21 06:02 | IP: IP Logged

Can you try to switch off bracket highlight in the progeam settings / editor for a while?

Options: Reply | Quote | Up ^


#38 Re: Unwanted and sudden converting to strange characters

Posted by: Veronika | Date: 2020-09-03 09:35 | IP: IP Logged

Hi, I also have this problem with the occasional ÿ appearing along with some more garbage in the same line, mostly in PHP code, but at one time it also happened with the .ppr project file itself.

The project file was not "open" as a tab, it just happened when I clicked save project and PSPad crashed with an error. Unfortunately I don't have the error report. Normally I never look inside the .ppr files, but PSPad could not open the project anymore and I found the ÿ-problem inside when I looked.

I have turned off bracket highlighting for now to see if it helps, but the issue is not that frequent so it is hard to catch.

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 4





Editor PSPad - freeware editor, © 2001 - 2020 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR