To encode or decode Base64 data you need to first highlight the entire range of data you want to be encoded or decoded. Next, click on “Plugins” in the top bar, then “MIME Tools”. In the second level of the menu you can see all of the Base64 encode and decode options.
Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits. URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign or with %20.
kinda de-facto standard yes. but only in modern browsers. its done for user convienience, so you can put utf8 charactesr in an url and its still pretty to the human eye. however please be aware that the text is actually still encoded and will be transmittet/requested encoded, it is only displayed decoded.
In Notepad++ under Plugins => MIME Tools you will find URL Encode and URL Decode.
Thanks to PiLHA.
C:\Programs Files\Notepad++\plugins
.URLENDECODE.js
and save it to C:\Program Files\Notepad++\plugins\jN\includes
.Code:
var URLDecoderEncoder = Editor.addMenu('URL-Encoding/Decoding');
URLDecoderEncoder.addItem({
text: 'Encode',
cmd: function() {
var unencoded = Editor.currentView.text;
var encoded = encodeURIComponent(unencoded);
Editor.currentView.text = encoded;
}
});
URLDecoderEncoder.addItem({
text: 'Decode',
cmd: function() {
var encoded = Editor.currentView.text;
var unencoded = decodeURIComponent(encoded);
Editor.currentView.text = unencoded;
}
});
URLDecoderEncoder.addItem({
text: 'Decode multi-pass (7x)',
cmd: function() {
var encoded = Editor.currentView.text;
var unencoded_pass1 = decodeURIComponent(encoded);
var unencoded_pass2 = decodeURIComponent(unencoded_pass1);
var unencoded_pass3 = decodeURIComponent(unencoded_pass2);
var unencoded_pass4 = decodeURIComponent(unencoded_pass3);
var unencoded_pass5 = decodeURIComponent(unencoded_pass4);
var unencoded_pass6 = decodeURIComponent(unencoded_pass5);
var unencoded = decodeURIComponent(unencoded_pass6);
Editor.currentView.text = unencoded;
}
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With