Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Component/s: None
-
Labels:None
Description
For some languages (e.g. Hebrew), the characters entered for a language definition will be converted to question marks when inserted into the database. To reproduce:
- Select Hebrew as your language and random as your order
- Use php my admin to find the "term_id" of the text you are translating in the "definitions" table
- Enter the Hebrew translation and submit (You can get it from google translate)
- Find all records in the table with the "term_id" you found
- See the Hebrew one is question marks
Updating the collation of the live database fixed this issue.
Looks like we may also want to update the database.php to change the character set query from:
"charset_query"=>"SET CHARACTER SET 'utf8'",
to:
"charset_query"=>"SET NAMES 'utf8'",