{"id":14607,"date":"2024-10-04T17:03:40","date_gmt":"2024-10-04T11:03:40","guid":{"rendered":"https:\/\/shra.ru\/?p=14607"},"modified":"2024-10-04T17:03:42","modified_gmt":"2024-10-04T11:03:42","slug":"error-code-1366-of-mysql-pri-zapisi-perevodov-v-bazu-tmgmt_deepl","status":"publish","type":"post","link":"https:\/\/shra.ru\/2024\/10\/error-code-1366-of-mysql-pri-zapisi-perevodov-v-bazu-tmgmt_deepl\/","title":{"rendered":"Error Code 1366 of Mysql \u043f\u0440\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u0432 \u0431\u0430\u0437\u0443 tmgmt_deepl"},"content":{"rendered":"\n
\u0422\u0438\u043f\u0438\u0447\u043d\u043e \u043e\u0448\u0438\u0431\u043a\u0430 1366 \u0441\u0432\u044f\u0437\u0430\u043d\u0430 \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u043a\u0442\u043e \u0442\u043e \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0441 \u043a\u043e\u0434\u0430\u043c\u0438 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. \u041d\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u0438\u043d\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435.<\/p>\n\n\n\n\n\n\n\n
Drupal \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 utf8mb4 \u0434\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418 \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0438 \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0443 \u0432\u0430\u0441 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u0430\u044f \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430.<\/p>\n\n\n\n
\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 tmgmt_deepl \u0434\u0430\u043d\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0442\u044c \u0432 \u0440\u044f\u0434\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432. \u0423 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0435 \u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0430 \u0442\u0443\u0440\u0435\u0446\u043a\u0438\u0439 \u044f\u0437\u044b\u043a. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0442\u0443\u0440\u0435\u0446\u043a\u043e\u0433\u043e \u0438 \u0440\u044f\u0434\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0437\u043d\u0430\u043a \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432 \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u0434\u043e \u0447\u0438\u0441\u043b\u0430.<\/p>\n\n\n\n
\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0435\u0432\u0440\u043e\u043f\u0435\u0439\u0441\u043a\u0438\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u0432\u044b \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u0435 — 25%, \u0430 \u0432 \u0442\u0443\u0440\u0435\u0446\u043a\u043e\u043c \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043a\u0430\u043a %25.<\/p>\n\n\n\n
\u041c\u043e\u0434\u0443\u043b\u044c tmgmt_deepl<\/em> \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044b \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442 \u043a \u043d\u0438\u043c \u043f\u043e\u0441\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 rawurldecode<\/em>, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u0432 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c % \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0446\u0435\u043b\u0435\u0432\u044b\u043c\u0438. \u0422\u0430\u043a \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u043c \u0432 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435.<\/p>\n\n\n\n \u042f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0430\u0442\u0447, \u0443\u0431\u0438\u0440\u0430\u044e\u0449\u0438\u0439 \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0438\u0437 \u043f\u043e\u0441\u0442\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430.<\/p>\n\n\n\n \u041d\u0435 \u0441\u0442\u0430\u043b \u0435\u0433\u043e \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043d\u0430 drupal.org, \u0442.\u043a. \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0431\u044b\u043b\u0438 \u043a\u0430\u043a\u0438\u0435 \u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u044b \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0437\u0434\u0435\u0441\u044c rawurldecode<\/em>. <\/p>\n","protected":false},"excerpt":{"rendered":" \u0422\u0438\u043f\u0438\u0447\u043d\u043e \u043e\u0448\u0438\u0431\u043a\u0430 1366 \u0441\u0432\u044f\u0437\u0430\u043d\u0430 \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u043a\u0442\u043e \u0442\u043e \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0441 \u043a\u043e\u0434\u0430\u043c\u0438 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. \u041d\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u0438\u043d\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[134,190],"acf":[],"yoast_head":"\ndiff --git docroot\/modules\/contrib\/tmgmt_deepl\/src\/Plugin\/tmgmt\/Translator\/DeeplTranslator.php docroot\/modules\/contrib\/tmgmt_deepl\/src\/Plugin\/tmgmt\/Translator\/DeeplTranslator.php\r\nindex 7503af5417..ff810d5bef 100755\r\n--- docroot\/modules\/contrib\/tmgmt_deepl\/src\/Plugin\/tmgmt\/Translator\/DeeplTranslator.php\r\n+++ docroot\/modules\/contrib\/tmgmt_deepl\/src\/Plugin\/tmgmt\/Translator\/DeeplTranslator.php\r\n@@ -520,7 +520,7 @@ public static function batchRequestTranslation(Job $job, array $text, array $tra\r\n $result = self::doRequest($job, $query_params);\r\n \/\/ Collect translated texts with use of initial keys.\r\n foreach ($result['translations'] as $translated) {\r\n- $translation[$keys_sequence[$i]]['#text'] = $translator_plugin->unescapeText(rawurldecode(Html::decodeEntities($translated['text'])));\r\n+ $translation[$keys_sequence[$i]]['#text'] = $translator_plugin->unescapeText(Html::decodeEntities($translated['text']));\r\n $i++;\r\n }\r\n if (isset($context['results']) && isset($context['results']['translation']) && $context['results']['translation'] != NULL) {\r\n<\/code><\/pre>\n\n\n\n