wiki:Documentation/Plugins/HtmlEntities

Version 1 (modified by ray, 13 years ago) (diff)

--

HtmlEntities for Xinha

Back To Plugins

Internally, the editor (actually JavaScript) treats strings as Unicode, disregarding of the charset you are using in your page. As a result all named entities are decoded when editing, thereby possibly breaking the encoding of characters that are not available in the actual codepage, e.g. the € in iso-8859-1.

If you enable this plugin, all "special characters" are converted to named entities.

Usage

If you want to exclude characters that are available in the used charset, you can edit the file Entities in the plugin folder by deleting or commenting out the respective lines. Then you save the file under a different name and reference it like this

Error: Failed to load processor text/x-javascript
No macro or processor named 'text/x-javascript' found

This preset file is already included in the distribution.
This way you will have no needless entities.

The conversion map provided by mharrisonline in ticket #127
The plugin is by Raimund Meyer