[Plugin: Weekly Class Schedule] No UTF-8 support (for example, russian words looks as ?????
-
WCS version 2.0.3
History: yesterday i’d try this plugin at first time. In my schedule there are a lot of russian words… new Classroom name looks like “?????????? ???” instead of “Спортивный зал”.
Solution:
1) Delete all WCS tables from DB (wp_wcs2_class, wp_wcs2_classroom, wp_wcs2_instructor, wp_wcs2_schedule)
2) Edit plugin file: site-root/wp-content/plugins/weekly-class-schedule/includes/WcsDb.php
at line 24: ) CHARACTER SET ‘utf8’ COLLATE ‘utf8_general_ci’;
at line 35: ) CHARACTER SET ‘utf8’ COLLATE ‘utf8_general_ci’;
at line 46: ) CHARACTER SET ‘utf8’ COLLATE ‘utf8_general_ci’;
at line 63: ) CHARACTER SET ‘utf8’ COLLATE ‘utf8_general_ci’;”;
3) Renew plugin page (if you just delete the corresponding tables).
4) Russian, Ukrainian and other languages already supported :)))Table in a MySQL database created in the encoding that is assigned to the default settings. So, the fact that if the default encoding is UTF-8 Unicode character is lost, replaced by question marks.
When creating tables in MySQL encoding should always be explicit!
https://www.ads-software.com/extend/plugins/weekly-class-schedule/
- The topic ‘[Plugin: Weekly Class Schedule] No UTF-8 support (for example, russian words looks as ?????’ is closed to new replies.