Forums / General / Add Special Chars to ezdhtml
Philip K.
Tuesday 18 July 2006 1:23:20 am
Hello.
I tried to add a character to the special chars table. In the insercharacter.tpl (extension/ezdhtml/design/standard/templates/ezdhtml/) I added the following:
The line where the html-codes are defined: var specialChars = ["¡","¢","£","¤","¥" .... ] I added: "λ"
When I want to insert this char, it will be changed to "?" after saving the template. Is there another location where I have to define this?
Thank you for your help.
Linux is like a wigwam; no windows, now gates, and apache inside!
Kirill Subbotin
Tuesday 18 July 2006 1:30:51 am
This is because this char is not compatible with your codepage. If you try Unicode, for example, it will be ok. Otherwise you can insert it only to <literal> field.
But we are going to change this in eZp 3.9 and make it possible to use foreign characters.
Tuesday 18 July 2006 1:56:47 am
I tried it with "Insert literal". But it's the same. When I put the sign in it, it will be channged to ? and when I put in the html-code I will the the html code and not the sign I want to use.
Is there no other way?
Kristof Coomans
Tuesday 18 July 2006 3:07:18 am
Also see this thread: http://ez.no/community/forum/setup_design/tm_trade_mark_character_online_editor
Currently the only way is to use the charset UTF8, which I would recommend to start with for any new site.
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org