Changes between Initial Version and Version 1 of Documentation/Plugins/HtmlEntities


Ignore:
Timestamp:
02/09/07 13:22:50 (13 years ago)
Author:
ray
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Plugins/HtmlEntities

    v1 v1  
     1= HtmlEntities for Xinha = 
     2[wiki:Plugins Back To Plugins][[BR]] 
     3 
     4Internally, 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. 
     5 
     6If you enable this plugin, all "special characters" are converted to named entities. 
     7 
     8== Usage == 
     9If 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 
     10{{{ 
     11#!text/x-javascript 
     12 xinha_config.HtmlEntities.EntitiesFile = _editor_url + "plugins/HtmlEntities/iso-8859-1.js";  
     13}}} 
     14This preset file is already included in the distribution.[[BR]] 
     15This way you will have no needless entities. 
     16 
     17The conversion map provided by mharrisonline in ticket #127[[BR]] 
     18The plugin is by [http://xinha.raimundmeyer.de Raimund Meyer]