Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 12:18 pm EST

Geeklog Forums

Swedish characters in event block


Status: offline

lguhr

Forum User
Newbie
Registered: 07/09/03
Posts: 3
Location:Sweden
Hi. I have set up a Geeklog site and it´s working great. I have only one small problem. In the events_block for upcoming events the spelling of Sunday in Swedish, Söndag shows up as \"söndag\". If I change the coding in the web browser to Unicode (UTF-8) this shows up right but å,ä and ö look wrong in every other place. Look here Any help would be nice. Thanks L-G
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm, the character set specified in the Swedish language file is $LANG_CHARSET = \"iso-8859-1\"; According to this list, this is correct, so it should be displaying correctly. You may want to talk to the person who made the Swedish translation (Markus Berg) about this. You\'ll find his email address at the top of the language file. bye, Dirk
 Quote

lguhr

Anonymous
Hi Dirk The days are displayed correctly in the calendar. The only place where it is wrong is in th event block bye LG
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by lguhr:The days are displayed correctly in the calendar. The only place where it is wrong is in th event block
I think the calendar relies on the locale settings while the events block pulls the names of the days from the language file. Or something like that ... Hmm, I\'ll write myself a feature request to clean that stuff up a bit Rolling Eyes bye, Dirk
 Quote

Status: offline

lguhr

Forum User
Newbie
Registered: 07/09/03
Posts: 3
Location:Sweden
I have made some research.
When I look at the results from info.php i found out that the
Enviroment variable LANG = sv_SE.UTF-8
PHP Variable _ENV["LANG"] = sv_SE.UTF-8

Mabye thats why I get the odd spelling.

bye, L-G

It´s working now. The ISP changed to ISO-8859-1 on the web server.
 Quote

All times are EST. The time is now 12:18 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content