From a2733d3e357fdfeae8866270a05700613fd25118 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 23 Oct 2018 10:54:24 +0800 Subject: import php_2_py.php --- scripts/php_2_py.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 scripts/php_2_py.php diff --git a/scripts/php_2_py.php b/scripts/php_2_py.php new file mode 100644 index 0000000..aa3316e --- /dev/null +++ b/scripts/php_2_py.php @@ -0,0 +1,24 @@ + $val) { + echo " u\"", $key, "\": u\"", $val, "\",\n"; + } + echo "}\n"; + echo "\n"; +} + +printDict("zh2Hant", ZhConversion::$zh2Hant); +printDict("zh2Hans", ZhConversion::$zh2Hans); +printDict("zh2TW", ZhConversion::$zh2TW); +printDict("zh2HK", ZhConversion::$zh2HK); +printDict("zh2CN", ZhConversion::$zh2CN); +# printDict("zh2SG", ZhConversion::$zh2SG); +?> -- cgit