Some characters don't work

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Chris
Forum Members
Forum Members
Posts: 49
Joined: Tue Mar 22, 2005 6:59 pm

Some characters don't work

Post by Chris »

Dear all,

Some spanish or norwegan charcters are not represented propperly. Does anyone know how to solve this? I think the problem might be the language setting, but I don't know how to change this. Can someone help, plz..

Thanks in advance.

Chris
gnolen

Re: Some characters don't work

Post by gnolen »

Then your encoding is wrong! Try an other one, UTF-8 should work good for you.

But I know that some of these issues are going to be fixed in the next beta version that are coming soon...
Chris
Forum Members
Forum Members
Posts: 49
Joined: Tue Mar 22, 2005 6:59 pm

Re: Some characters don't work

Post by Chris »

Could you please explaine a bit more.
gnolen

Re: Some characters don't work

Post by gnolen »

I am not sure of what issue of CMSMS you use or what doc-type(XHTML 1/1.1 and so).

But try to put this in your template: (between the head-tags)



or if that doesn't work for you:



/ gnolen
jah
Forum Members
Forum Members
Posts: 147
Joined: Thu Dec 30, 2004 9:09 am

Re: Some characters don't work

Post by jah »

I use ISO-8859-1 for Norwegian characters. In addition to the previous answer by Gnolen you should set this encoding in your template and be sure to select the appropriate language for TinyMCE. I think the latter influence the encoding that TinyMCE does.

Jon
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Some characters don't work

Post by Ted »

You know, I've never thought about encoding issues with TinyMCE before.  Does it matter what encoding is used or does it just put everything back into the textarea the way that it was typed in?

Interesting...

As for proper encoding.  The "correct" way is to change it in your template, or if you want something more global, set it in config.php.  Putting the encoding in meta tags could be a hazard becuase CMSMS is sending the encoding via the HTTP headers and a conflict could cause a problem with some browsers not rendering correctly (or at all).
Chris
Forum Members
Forum Members
Posts: 49
Joined: Tue Mar 22, 2005 6:59 pm

Re: Some characters don't work

Post by Chris »

I Did a few quick test and it didn't work so I'll investigate more... I use



By the way...
gnolen

Re: Some characters don't work

Post by gnolen »

For Sweden and Norway I use:



with a doctype like:



What you easiest could do is to open IE(yeah really!) and rightclick and choose encoding and test what will render your text correctly.

/ Gnolen
jah
Forum Members
Forum Members
Posts: 147
Joined: Thu Dec 30, 2004 9:09 am

Re: Some characters don't work

Post by jah »

I have experienced that I had to go through the text and re-enter the failing characters after I had set the correct encoding.
Chris
Forum Members
Forum Members
Posts: 49
Joined: Tue Mar 22, 2005 6:59 pm

Re: Some characters don't work

Post by Chris »

sometimes I'm such an idiot ! Just fill in the encoding field at the stylesheet pagina.

iso-8859-1 works with spanish and norwegian characters (iso-8859-2 only with the spanish ones)

Thanks for all the help folks !

Chris
Post Reply

Return to “CMSMS Core”