Banner
Home Forum
Qivva Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Wrong day name encoding
(1 viewing) 1 Guest
Go to bottom
TOPIC: Wrong day name encoding
#174
robertq35
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Wrong day name encoding 4 Years, 1 Month ago Karma: 0
I was install EventcalQ module for Joomla 1.5 (have 1.5.2 version)
Seems to working fine, but short daynames and monthname displays wrong (in czech language - adding attachment)
As you can see, name of month are displayed in wrong format:
Month in czech called Březen is displyed as Bøezen etc...
Trying everything, what i was able to find, but nothing helps
This is the LOCALE problem or htmlentities(), i mean, but try to use setlocale(); command was do nothing.
Any idea?
File Attachment:
File Name: calendar.pdf
File Size: 11622
 
Logged Logged
 
Last Edit: 2008/03/31 10:11 By robertq35. Reason: no attachment
  The administrator has disabled public write access.
#175
admin
Platinum Boarder
Posts: 677
graph
User Offline
Re:Wrong day name encoding 4 Years, 1 Month ago Karma: 14
Do you know what locale's are installed on your server?

If you tried setlocale and nothing happened I guess it's because that locale is not installed.

You can try (if this isn't the one you tried before:

Code:

setlocale(LC_TIME, 'cs_CZ.UTF-8');



If this doesn't work - try and find out what locales are installed on your server so you can force the correct one.

Toni
 
Logged Logged
  The administrator has disabled public write access.
#176
robertq35
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:Wrong day name encoding 4 Years, 1 Month ago Karma: 0
Thank you for your post, maybe it helps, but i have web server in my computer with Windows XP, maybe this is problem.
 
Logged Logged
  The administrator has disabled public write access.
#177
admin
Platinum Boarder
Posts: 677
graph
User Offline
Re:Wrong day name encoding 4 Years, 1 Month ago Karma: 14
Ah Windows!!

Windows doesn't tend to like LC_TIME and the language string is different.

Try:

Code:

setlocale(LC_ALL,'czech');


Toni
 
Logged Logged
  The administrator has disabled public write access.
#179
robertq35
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:Wrong day name encoding 4 Years, 1 Month ago Karma: 0
OK, i have it at work.
This evening i will try install it on linux server on my home internet provider and will see
 
Logged Logged
  The administrator has disabled public write access.
#180
robertq35
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:Wrong day name encoding 4 Years, 1 Month ago Karma: 0
Bad luck.
Unfortunately wrong characters displays again.
I was put
setlocale(LC_TIME, 'cs_CZ.UTF-8');
setlocale(LC_ALL, 'cs_CZ.utf-8');

at begining of the file /modules/modeventlistcal15q/tmpl/default.php, but nothing happens...

You can see it at cms.studioegelis.com
 
Logged Logged
 
Last Edit: 2008/03/31 20:26 By robertq35. Reason: i am dumb :) incomplete post
  The administrator has disabled public write access.
Go to top