Question

I am using FCKeditor in rails app. Input:

™ © ® ¢ € ¥ £ ¤

Present Output (ISO-8859-1 Entities):

™ © ® ¢ € ¥ £ ¤

Expected output (Entity codes):

¿ ¡ « » § ¶ † ‡ • – —

Please someone help me to get the expected output.

Was it helpful?

Solution

From the fine manual:

ProcessNumericEntities

This option tells the editor to transform all characters that are out of the ASCII table to their relative Unicode numeric entities.

For example, if this option is set to true, the Ϣ sign will be transformed to Ϣ. By default the option is set to false.

Example:

FCKConfig.ProcessNumericEntities = true ;

So you just need to figure out where your FCKEditor configuration file is and add FCKConfig.ProcessNumericEntities = true; to it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top