http://rosettacode.org/wiki/Chinese_zodiac
The following is supposed to contain strings which look like 12 Chinese
characters.
How in j to have the characters display correctly?
$ python3
Python 3.5.3 (default, Sep 14 2017, 22:58:41)
[GCC 6.3.0 20170406] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> a="鼠牛虎兔龍蛇馬羊猴鸡狗豬"
>>> a.encode('utf-8')
b'\xe9\xbc\xa0\xe7\x89\x9b\xe8\x99\x8e\xe5\x85\x94\xe9\xbe\x8d\xe8\x9b\x87\xe9\xa6\xac\xe7\xbe\x8a\xe7\x8c\xb4\xe9\xb8\xa1\xe7\x8b\x97\xe8\xb1\xac'
>>> a.encode('utf-8').decode('utf-8')
'鼠牛虎兔龍蛇馬羊猴鸡狗豬'
>>>
JVERSION
Engine: j806/j64avx/linux
Beta-3: commercial/2017-04-10T17:51:14
Library: 8.06.02
Platform: Linux 64
Installer: J806 install
InstallPath: /home/lambertdw/downloads/installs/j64-806
Contact: www.jsoftware.com
A=: 16be9 16bbc 16ba0 16be7 16b89 16b9b 16be8 16b99 16b8e
A=:A,16be5 16b85 16b94 16be9 16bbe 16b8d 16be8 16b9b 16b87
A=:A,16be9 16ba6 16bac 16be7 16bbe 16b8a 16be7 16b8c 16bb4
A=:A,16be9 16bb8 16ba1 16be7 16b8b 16b97 16be8 16bb1 16bac
u:A
é¼ çèå
é¾è馬ç¾ç´é¸¡ç豬
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm