utf 8 - python print format for Chinese characters -
i working python 3.6.0 on linux (centos). python print format cannot work chinese characters. following simple codes produce unexpected wrong alignment.
tmp = '%32s %32s' print(tmp % ('first', 'second')) print(tmp % ('第一', '第二'))
Comments
Post a Comment