sendou.ink/scripts/encode-utf8.py
Yi Huang 62992571ac
Translations for Traditional Chinese (#18)
* add scripts for conversion between utf8 and unicode-escaped strings

    > ./scripts/encode-utf8.py '中文'
    \u4e2d\u6587

    > ./scripts/decode-utf8.py '\u4e2d\u6587'
    中文

* add zh-TW translations

- sub weapons
- special weapons
- hero weapons
- stages (non-splatfest)
- modes
2020-08-14 17:20:16 +03:00

4 lines
106 B
Python
Executable File

#!/usr/bin/env python3
import sys
print(*[arg.encode('unicode-escape').decode() for arg in sys.argv[1:]])