[222660] Problem with opening plugin.xml editor
diff --git a/classes/export/generate1.php b/classes/export/generate1.php
index ead2bbc..da5b7a9 100755
--- a/classes/export/generate1.php
+++ b/classes/export/generate1.php
@@ -220,8 +220,9 @@
#echo "${leader1S}${leaderS}${leaderS}${leaderS}" . $strings_row['key'] . "=";
if( $strings_row['trans'] ) {
# json_encode returns the string with quotes fore and aft. Need to strip them.
- $tr_string = preg_replace('/^"(.*)"$/', '${1}', json_encode($strings_row['trans']));
- $tr_string = str_replace('\\\\', '\\', $tr_string);
+ # $tr_string = preg_replace('/^"(.*)"$/', '${1}', json_encode($strings_row['trans']));
+ # $tr_string = str_replace('\\\\', '\\', $tr_string);
+ $tr_string = toescapedunicode($strings_row['trans']);
fwrite( $outp, $tr_string );
# echo $strings_row['trans'];
} else {