When I apply the Base64 encode from the Encode plugin to an image file, I am unable to get the same results I see in Notepad++ or Inkscape.
I have tried the different options presented in the "File is maybe not text" window.
I found this and was able to create a plugin and the results match Notepad++:
https://stackoverflow.com/questions/606 ... ows-editor
I am curious why there is a difference.  Am I missing a step when I use the Encode plugin?  An Option isn't enabled?
Thank you.
			
			
									
						
										
						plugin Encode - Base64 encode
- 
				main Alexey
 - Posts: 2706
 - Joined: 25.08.2021 18:15
 
File - Open file ... image file.
The "File is maybe not text" window appears: Edit anyway, Viewer - text mode, .... I have tried them all.
Once the file is opened, I select all and apply the base64. In some cases, nothing happens. In other cases - Edit Anyway, for example - I get results, but they differ from Notepad++.
So, I was trying to figure out why the results are different.
			
			
									
						
										
						The "File is maybe not text" window appears: Edit anyway, Viewer - text mode, .... I have tried them all.
Once the file is opened, I select all and apply the base64. In some cases, nothing happens. In other cases - Edit Anyway, for example - I get results, but they differ from Notepad++.
So, I was trying to figure out why the results are different.
- 
				main Alexey
 - Posts: 2706
 - Joined: 25.08.2021 18:15
 
Different because some text encoding is applied. not plain file is read into encoder. I will merge that sample plugin
https://stackoverflow.com/questions/606 ... ows-editor
into CudaExt soon. you must use this way.
			
			
									
						
										
						https://stackoverflow.com/questions/606 ... ows-editor
into CudaExt soon. you must use this way.
- 
				main Alexey
 - Posts: 2706
 - Joined: 25.08.2021 18:15