Is it possible to convert _selected_ entities, instead of just ones that are typed? For instance, if I am pasting the "á" character into a document, I would like to select it, and convert it to the entity value: "á". There is currently an option in "TextFX Convert" to "Encode HTML", but that only works on a few characters (<>&"). I would like the ability to convert a selected character as per the following W3C character/entity listing:
If this cannot be a built in feature, would it be possible to allow for a configuration file, where the user can add their preferred character/entity references?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can use the HTMLTag plugin:
This plug-in provides two core functions to Notepad++:
- HTML and XML tag matching, like the built-in brace matching (Ctrl+B / Shift+Ctrl+B)
- HTML entity encoding/decoding (example: é to é and vice versa)
The interesting thing is that you can customize the tags in the ini file.
Hello
I would like to suggest a function for TextFX plugin that i consider would be really useful.
It would pick and convert every non-ASCII character into their HTML entity.
As an example, it would convert ñ, é, Ö, etc into ñ, é, Ö, etc.
Thanks!
I think the option "Autoconvert typed HTML/XML to &entities;" should do the trick, unfortunately it also convers returns in <br /> as well....
Hi,
Is it possible to convert _selected_ entities, instead of just ones that are typed? For instance, if I am pasting the "á" character into a document, I would like to select it, and convert it to the entity value: "á". There is currently an option in "TextFX Convert" to "Encode HTML", but that only works on a few characters (<>&"). I would like the ability to convert a selected character as per the following W3C character/entity listing:
http://www.w3.org/TR/REC-html40/sgml/entities.html
If this cannot be a built in feature, would it be possible to allow for a configuration file, where the user can add their preferred character/entity references?
You can use the HTMLTag plugin:
This plug-in provides two core functions to Notepad++:
- HTML and XML tag matching, like the built-in brace matching (Ctrl+B / Shift+Ctrl+B)
- HTML entity encoding/decoding (example: é to é and vice versa)
The interesting thing is that you can customize the tags in the ini file.
The official site: https://sourceforge.net/project/showfiles.php?group_id=189927&package_id=242320
Att.,
--
Rafael Mussi
Read about CharM and Simple Script Plug-In:
"New plugin - CharM (Character Map) uploaded".
http://sourceforge.net/forum/forum.php?thread_id=1947161&forum_id=482781