1
gerren
eXtCal 2.36 UTF-8 encoding problems
  • 2012/3/30 17:40

  • gerren

  • Just popping in

  • Posts: 8

  • Since: 2006/10/18


Translated the module in Swedish and everything work fine except weekdays in start page Main menu and selecting eXtCal (/modules/extcal/view_calendar-month.php)
Changing character Encoding to Western (ISO-8859-1) weekdays shows ok but not the rest of the translation.
Debugged for several days but i can't figure out whats is wrong.
Any idea what causing this?

System:
XOOPS Version XOOPS 2.5.3
PHP Version 5.3.10
mySQL Version 5.0.51a-24+lenny5-log
Server API cgi-fcgi
OS Linux

The problem can be viewed at: http://www.gemko.se/modules/extcal/view_calendar-month.php

2
gerren
Re: eXtCal 2.36 UTF-8 encoding problems
  • 2012/4/12 17:31

  • gerren

  • Just popping in

  • Posts: 8

  • Since: 2006/10/18


Updated to XOOPS 2.5.5 RC and ExtCal 2:37 on my test site and still have problems with Swedish characters.
Language files converted to UTF-8 without BOM.

Does not ExtCal support country-specific characters any more???

As I mentioned earlier swedish letters does not appear correct in Calendar month (modules/extcal/view_calendar-month.php)

example: m�ndag tisdag onsdag torsdag fredag l�rdag s�ndag

3
Mamba
Re: eXtCal 2.36 UTF-8 encoding problems
  • 2012/4/12 18:27

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Is you database in UTF?

It's possible that the default is ISO, so even if you place the characters in UTF, they are being saved as ASCII/ISO.

I had it once something similar, till I converted the database to UTF and then it worked.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

4
gerren
Re: eXtCal 2.36 UTF-8 encoding problems
  • 2012/4/22 8:34

  • gerren

  • Just popping in

  • Posts: 8

  • Since: 2006/10/18


Thanks Mamba, I have checked the settings and it looks like this
Database character set = utf8 - UTF-8 Unicode
Database collection = utf8_swedish_ci

There must be something wrong in extCal affecting the weekday name only in the modules \ extcal \ view_calendar-month.php view.

when looking at modules\extcal\view_day.php weekdays shows ok.



Login

Who's Online

353 user(s) are online (254 user(s) are browsing Support Forums)


Members: 0


Guests: 353


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits