You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with JSON columns in Medoo and facing an issue with Cyrillic characters encoding. When inserting data into a JSON column (using syntax like content[JSON]), Cyrillic characters are being escaped in the database.
Current behavior:
JSON data with Cyrillic: {"text":"\u0422\u0435\u0441\u0442"}
Expected result: {"text":"Тест"}
Is there a way to configure Medoo to use specific JSON encoding options, particularly:
I'm working with JSON columns in Medoo and facing an issue with Cyrillic characters encoding. When inserting data into a JSON column (using syntax like
content[JSON]
), Cyrillic characters are being escaped in the database.Current behavior:
{"text":"\u0422\u0435\u0441\u0442"}
{"text":"Тест"}
Is there a way to configure Medoo to use specific JSON encoding options, particularly:
Example of my current code:
$database->insert("table_name", ["content[JSON]" => ["text" => "Тест"]]);
Database details:
Any help would be appreciated. Thank you!
The text was updated successfully, but these errors were encountered: