Banner
Home Forum
Qivva Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Special characters not showing correctly
(1 viewing) 1 Guest
Go to bottom
TOPIC: Special characters not showing correctly
#324
Burnbow
Fresh Boarder
Posts: 5
graphgraph
User Offline
Special characters not showing correctly 4 Years ago Karma: 0
In norwegian, saturday and sunday is written lørdag and søndag.
The letter "Ø" is not showing correctly. The lette "Ã" is shown instead.
How can I fix this?
 
Logged Logged
  The administrator has disabled public write access.
#326
admin
Platinum Boarder
Posts: 677
graph
User Offline
Re:Special characters not showing correctly 4 Years ago Karma: 14
What works for me is to add the line:

Code:

setlocale(LC_TIME, 'norwegian');


at about line 21 of mod_eventlistcal15q/tmpl/default.php

Just after the line:
Code:

$document->addStyleSheet( JURI::base() . '/modules/mod_eventlistcal15q/mod_eventlistcal15q.css' ); 


I tried it our on my test site:

www.qivva.com/demo152/

Does that look right to you?

Regards
Toni
 
Logged Logged
  The administrator has disabled public write access.
#327
Burnbow
Fresh Boarder
Posts: 5
graphgraph
User Offline
Re:Special characters not showing correctly 4 Years ago Karma: 0
Yes it does
Very nice, thank you for quick response.
 
Logged Logged
  The administrator has disabled public write access.
#376
Burnbow
Fresh Boarder
Posts: 5
graphgraph
User Offline
Re:Special characters not showing correctly 3 Years, 12 Months ago Karma: 0
I have update to 0.5
Everything looks ok. But one of users on the site www.hopsjo.no commentet that saturday and sunday looses its norwegian "ø" when first loaded.
The "ø" comes back when moving between months or reloading the page several times.

Any idea?
 
Logged Logged
  The administrator has disabled public write access.
#379
admin
Platinum Boarder
Posts: 677
graph
User Offline
Re:Special characters not showing correctly 3 Years, 12 Months ago Karma: 14
Seems a bit strange. Are you using the Locale override feature and if so - what have you got it set to?

It's like it there are conflicting locale settings.

You don't still have the line:

Code:

setlocale(LC_TIME, 'norwegian');


in there? Is your version 0.5 calendar un-modified?

Regards
Toni
 
Logged Logged
  The administrator has disabled public write access.
#381
Burnbow
Fresh Boarder
Posts: 5
graphgraph
User Offline
Re:Special characters not showing correctly 3 Years, 12 Months ago Karma: 0
admin wrote:

You don't still have the line:

Code:

setlocale(LC_TIME, 'norwegian');


in there? Is your version 0.5 calendar un-modified?

Regards
Toni
Eh... not any more. Seems to behave fine now.
Thanks.
 
Logged Logged
  The administrator has disabled public write access.
Go to top