Accented characters are not converted to html when written in wymeditor. Even if I write it in proper html language (i.e. á) on the source code view, wymeditor convert it back to á (in the source) which is not valid html code.
I haven't found any way to correct this (i.e. some sort of translation issue).
Best regards,
Mguel
Comments
Comment #1
Moxide commentedHello,
I fear that I don't understand the problem.
Do you mean that after submitting the node, when you view the node's source code, accented characters appear as "éàèù" and not "é ...etc." ?
If so, I think this behaviour is normal. Try to disable WYMeditor and do the same process.
Regards.
Comment #2
Mguel commentedHi, thanks for answering... I've been away some time so sorry for the long delay.
To explain again the problem: when I edit a submitted post which I wrote using the valid code for accented characters (
á é, etc) that code is gone and it is replaced by the accented word (á, é, etc) in the source/editing area, which is not valid html.I've tested as you suggested me disabling WYMEditor and it works fine (it preserves the code and html code for special characters, although it doesn't "translate" accented characters to the corresponding html code [what would be expected to be done by a wysiwyg editor by the way]).
On other wysiwyg editors I tried before WYMEditor, they preserve the code for special characters in the source, and even more, they correctly converted accented characters inputed on the wysiwyg to valid html code... which is the expected behaviour for a wysiwyg editor. In WYMEditor things work in the other direction in this area: if I look at the posts made with WYMEditor now I disabled it, all the special characters are written "normally" (and not in valid html code).
Cheers,
Mguel
PS: I hope I made myself clear now.
Comment #3
lhtown commentedActually, it is valid to have utf-8 encoding as opposed to the old html codes. I won't use anything else on my sites. It just looks too messy to have the old html codes when you are writing special characters. You should make sure you use the correct doc type and you are good to go.
My complaint with tinymce is that is goes backwards converting my beautiful utf-8 to fat and ugly html escape codes. There may be a way around the default behavior with both editors, but I don't know.
Comment #4
Mguel commentedThanks for the answer and the explanation then... the problem was my lack of, or outdated knowledge, I didn't use utf-8 on the few previous sites I worked on... so I didn't considered that. ;) sorry then.
Best regards,
Mguel
PS: closed the topic