Page 1 of 1

Special characters on text?

Posted: Mon Nov 01, 2010 1:06 pm
by Alan502
Hey everybody,

I just installed cms made simple, but I'm having a problem entering special characters such as the spanish tilde (á é í ó ú) in the content. I was having the same problem on my template but I realized I could fix it using the html code for those characters (á etc...) on the template. It didn't work for the content though, I still get weird symbols and not the chracters I want. On my config.php file i have ISO-8859-1 as my charset.

I already posted this question on the spanish section but nobody answered, so please, help! Perhaps there is a way I can enter my html codes on the page editor so they can appear exactly as I enter them? ( I already tried using html editing, but it didn't work, the editor seems to automatically convert those characters)

Re: Special characters on text?

Posted: Mon Nov 01, 2010 1:32 pm
by RonnyK
The database self is setup with a format as well.... Check what you have there, and if that matches the required one.

Ronny

Re: Special characters on text?

Posted: Mon Nov 01, 2010 1:38 pm
by Alan502
Hmmm I think the database is utf-8. Do I need to convert it?

However, I just found out I could put those characters on the content the same way I did on the template, with its html code but after disabling the wysiwyg editor. However, when I try to do the same on the page title the code itself appears on the website! do you think i could fix that?

Re: Special characters on text?

Posted: Mon Nov 01, 2010 1:42 pm
by Alan502
Thanks by the way ^.^ sorry for the double post, but I figured out in the page source that the cms somehow converts the & to & (therefore the code for the special characters is not correctly parsed since it starts with &: ñ á etc...)

Re: Special characters on text?

Posted: Mon Nov 01, 2010 9:51 pm
by faglork
Alan502 wrote: On my config.php file i have ISO-8859-1 as my charset.
Why? Why don't you simply use UTF-8?

Cheers,
Alex