How to show Æ Ø Å

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
eppesen
New Member
New Member
Posts: 5
Joined: Fri Apr 24, 2009 8:28 am

How to show Æ Ø Å

Post by eppesen »

Hi,
when posting news on my site, my language (norwegian) use Æ Ø Å symbols.
Now the system subs the Æ Ø Å into other symbols, i.e. Å would be  Ã¥.
How do I make the system post Æ Ø Å correctly?
Duketown

Re: How to show Æ Ø Å

Post by Duketown »

eppesen,

What might help is use the HTML Entity (case sensitive) as available in the column with the same name from site:
http://www.utexas.edu/learn/html/spchar.html
So in your text you would use something like Æ

Duketown
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: How to show Æ Ø Å

Post by reneh »

Are your char setting for site correct?
And have you set the char encoding in top of your template?

This problem mostly happens if the db is set as soemthing else that utf-8 or the settings not are 100% correct.
ReneH 8-)
A search will save you hours waiting for an answer! Image
eppesen
New Member
New Member
Posts: 5
Joined: Fri Apr 24, 2009 8:28 am

Re: How to show Æ Ø Å

Post by eppesen »

Not sure what you guys are pointing at, but if you could have a look at my site: www.kgpk.no

Thanks for all help!
alby

Re: How to show Æ Ø Å

Post by alby »

Try to put utf-8 in default_encoding in your config.php

Alby
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: How to show Æ Ø Å

Post by reneh »

First - change in your template header area:

to


Put also this into "Nettstedsadmin. » Globale innstillinger":

just above the


If this is not working I'm afraid you have trouble with a wrong char encoding on the database itself.

A workaround is described here:
http://forum.cmsmadesimple.org/index.ph ... cseen.html

But i jsut took a quick look at your site  and can't see any problems there now....
ReneH 8-)
A search will save you hours waiting for an answer! Image
mecken
Forum Members
Forum Members
Posts: 10
Joined: Mon Mar 30, 2009 9:04 pm

Re: How to show Æ Ø Å

Post by mecken »

Hi, I am having the same problem on several Swedish sites and this instruction solved the problem.
But in one case I still have the problem only on one specific field, it is the news title field "NewsPostDetailTitle" and only when the field is used in the detail view, as in the detail form: {$entry->title|escape:htmlall}, then the field looks like Höststädning.

When the same field is used in the summary form as: moreurl}" title="{$entry->title|escape:htmlall}">{$entry->title|escape}

it displays correctly: Höststädning (but still wrong in the mouseover alt text).

The difference is the ending parameter :htmlall and the text displays correct if this ending parameter is removed. So my question is, is it a correct action to remove this parameter ending?

Thanks
Post Reply

Return to “CMSMS Core”