2011-06-23, 01:32:01
Hello guys.
I use GS 3.0 and I have set Czech locale UTF 8 in gsconfig.php and CKEditor has too cs.js localization. Its same for other language with cyrylic (Slovak, Polak, etc.). For properly encoding in v Events 2.1g you must:
1. in gsconfig.php set your locale
2. convert events.php and calendar.php to UTF8 without bom
3. edit events.php and about row 720 to 727 delete all utf8_encode
4. for solve encoding in admin (calendar) delete utf8_encode on row 533 (return utf8_encode('<span class="previousmonth">.....)
5. it solve encoding in admin and in output if you save your event and you have CKEditor in other language than english
My last problem is, that I dont see any events in admin, I see all events with properly encoding in frontend but not in admin (sidebar under events and nothing in calendar). Maybee bad months and days naming if I use other locale than english, but in events.xml is used UNIX timestamp format, so I dont know where is the problem.
I use GS 3.0 and I have set Czech locale UTF 8 in gsconfig.php and CKEditor has too cs.js localization. Its same for other language with cyrylic (Slovak, Polak, etc.). For properly encoding in v Events 2.1g you must:
1. in gsconfig.php set your locale
2. convert events.php and calendar.php to UTF8 without bom
3. edit events.php and about row 720 to 727 delete all utf8_encode
4. for solve encoding in admin (calendar) delete utf8_encode on row 533 (return utf8_encode('<span class="previousmonth">.....)
5. it solve encoding in admin and in output if you save your event and you have CKEditor in other language than english
My last problem is, that I dont see any events in admin, I see all events with properly encoding in frontend but not in admin (sidebar under events and nothing in calendar). Maybee bad months and days naming if I use other locale than english, but in events.xml is used UNIX timestamp format, so I dont know where is the problem.