Page 1 of 1
Some characters don't work
Posted: Wed May 04, 2005 1:21 pm
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
Re: Some characters don't work
Posted: Wed May 04, 2005 1:30 pm
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...
Re: Some characters don't work
Posted: Wed May 04, 2005 1:33 pm
by Chris
Could you please explaine a bit more.
Re: Some characters don't work
Posted: Wed May 04, 2005 1:41 pm
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
Re: Some characters don't work
Posted: Wed May 04, 2005 1:53 pm
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
Re: Some characters don't work
Posted: Wed May 04, 2005 2:07 pm
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).
Re: Some characters don't work
Posted: Wed May 04, 2005 2:32 pm
by Chris
I Did a few quick test and it didn't work so I'll investigate more... I use
By the way...
Re: Some characters don't work
Posted: Wed May 04, 2005 2:46 pm
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
Re: Some characters don't work
Posted: Wed May 04, 2005 3:23 pm
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.
Re: Some characters don't work
Posted: Wed May 04, 2005 4:50 pm
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