Message181740
python3 output translate Japanese with pygettext.install().
EVERYTHING IS OK!
please check to use a konnichiha.2.tar.gz.
==============================================
please do below shell command.
$ for f in `find . -name 'konnichiha.*.py'` ; do echo f=$f ; python3 $f ; echo -- ; done
f=./konnichiha.Shift_JIS.py
HELLO ハローで、今日は
日本語をUTF8にしてコンニチハ
--
f=./konnichiha.UTF-8.py
HELLO ハローで、今日は
日本語をUTF8にしてコンニチハ
--
f=./konnichiha.ISO-2022-JP.py
HELLO ハローで、今日は
日本語をUTF8にしてコンニチハ
--
f=./konnichiha.EUC-JP.py
HELLO ハローで、今日は
日本語をUTF8にしてコンニチハ
--
==============================================
konnichiha script encoding is OK!
$ nkf -g ./konnichiha.*.py
./konnichiha.EUC-JP.py: EUC-JP
./konnichiha.ISO-2022-JP.py: ISO-2022-JP
./konnichiha.Shift_JIS.py: Shift_JIS
./konnichiha.UTF-8.py: UTF-8
==============================================
also coding: is OK!
$ head -2 konnichiha.*.py
==> konnichiha.EUC-JP.py <==
# coding: euc-jp
import gettext
==> konnichiha.ISO-2022-JP.py <==
# coding: iso-2022-jp
import gettext
==> konnichiha.Shift_JIS.py <==
# coding: shift-jis
import gettext
==> konnichiha.UTF-8.py <==
# coding: utf-8
import gettext
==============================================
THANK YOU serhiy.storchaka ! |
|
Date |
User |
Action |
Args |
2013-02-09 15:06:52 | umedoblock | set | recipients:
+ umedoblock, loewis, ezio.melotti, serhiy.storchaka |
2013-02-09 15:06:52 | umedoblock | set | messageid: <1360422412.13.0.25115589732.issue17156@psf.upfronthosting.co.za> |
2013-02-09 15:06:52 | umedoblock | link | issue17156 messages |
2013-02-09 15:06:51 | umedoblock | create | |
|