Page 1 of 1

Norwegian letter formatet wrong

Posted: Fri 01 Jan 2016 2:31 pm
by jonerefsnes
Hello,

I just upgraded to beta 3036, but now the Norwegian letters i am using as Æ Ø Å, are outputted as "�". For instanse wind direction should be "Sør 173grader" ,but is outputted as "S�r 173grader"

Any ide on how to come around this ?`

Running on a Windows 7 machine

Thanks
Regards
Jone

Re: Norwegian letter formatet wrong

Posted: Fri 01 Jan 2016 2:39 pm
by steve
Processing of non-UTF8 encoded files is currently using ANSI when it should be using ISO-8859-1 - this will be corrected in the next build.

Re: Norwegian letter formatet wrong

Posted: Fri 01 Jan 2016 2:40 pm
by steve
I should have added - so a solution would be to use UTF-8 if you can. Are you using the standard web files, or something else?

Re: Norwegian letter formatet wrong

Posted: Fri 01 Jan 2016 3:52 pm
by jonerefsnes
Thanks for answere,

I am using my own templates , www.rydningen.net

Would that be a setting in my templates then witch cararcter set to use ? , or smething in cumulus ?

Regards
Jone

Re: Norwegian letter formatet wrong

Posted: Fri 01 Jan 2016 3:56 pm
by steve
You would have to change your templates to be utf-8 encoded, and also change the charset line in the headers:

<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"/>

You would then have to select the utf-8 option in Cumulus for each file. It may be quite a bit of work for you. The alternative is to wait for the next build - I can't say when that will be available.

Re: Norwegian letter formatet wrong

Posted: Fri 01 Jan 2016 4:01 pm
by jonerefsnes
Thanks for help.

I think ill loose the norwegian letters and use shorts in the meantime.

Thanks again.

Regards
Jone

Re: Norwegian letter formatet wrong

Posted: Tue 03 May 2016 8:49 am
by jonerefsnes
Hello,

Sorry to bother you, but is this issue fixt in the versjon that is out now ?

Thanks,
Jone

Re: Norwegian letter formatet wrong

Posted: Tue 03 May 2016 8:53 am
by steve
Yes, as mentioned in the announcement for build 3037.

Re: Norwegian letter formatet wrong

Posted: Wed 04 May 2016 6:10 am
by jonerefsnes
Do i need to activate/ set something in the ini files or something ? , i still have the same "odd" caracters on my website after upgrading.

Thanks again,

Jone

Re: Norwegian letter formatet wrong

Posted: Wed 04 May 2016 7:02 am
by steve
You just need to make sure that your templates have the correct encoding, and that you select the correct encoding in Cumulus.

Normally, this would be iso-8859-1 if you don't have utf-8 selected in Cumulus, and utf-8 if you do have it selected. I assume that windows-1252 can be used instead of iso-8859-1, but I'm not an expert in this area. It is far preferable to use utf-8 wherever possible.

It looks like your web server isn't sending an encoding, so I believe this means that browsers will assume utf-8 by default, but again I'm not sure.