输出的编码部分不对,有办法解决换成utf16编码吗?
['PERFORMER "Various"', 'TITLE "\xe5\xae\x9d\xe4\xb8\xbd\xe9\x87\x91\xe9\x9d\x9e\xe5\xb8\xb8\xe8\x80\x81\xe7\x89\x8c\xe7\xb2\xbe\xe9\x80\x89"', 'FILE "CDImage.ape" WAVE', ' TRACK 01 AUDIO', ' TITLE "\xe5\xa4\xaa\xe9\x98\xb3\xe4\xb8\x80\xe6\xa0\xb7"', ' PERFORMER "\xe5\x88\x98\xe6\x96\x87\xe6\xad\xa3"', ' INDEX 01 00:00:00', ' TRACK 02 AUDIO', ' TITLE "\xe5\xa0\x86\xe7\xa7\xaf\xe6\x83\x85\xe6\x84\x9f"', ' PERFORMER "\xe9\x82\x9d\xe7\xbe\x8e\xe4\xba\x91"', ' INDEX 00 03:28:07', ' INDEX 01 03:30:10', ' TRACK 03 AUDIO', ' TITLE "\xe6\x97\xb6\xe7\xa9\xba\xe5\xaf\x84\xe6\x83\x85"', ' PERFORMER "\xe9\xbb\x84\xe8\x8e\xba\xe8\x8e\xba"', ' INDEX 00 08:24:00', ' INDEX 01 08:27:12', ' TRACK 04 AUDIO', ' TITLE "\xe5\x86\x8d\xe8\xa7\x81\xe6\x88\x91\xe7\x9a\x84\xe7\x88\xb1\xe4\xba\xba"', ' PERFORMER "\xe9\x82\x93\xe4\xb8\xbd\xe5\x90\x9b"', ' INDEX 00 12:33:10', ' INDEX 01 12:36:32', ' TRACK 05 AUDIO', ' TITLE "\xe6\xb5\xb7\xe8\xa7\x92\xe5\xa4\xa9\xe6\xb6\xaf"', ' PERFORMER "\xe7\x8e\x8b\xe8\x8a\xb7\xe8\x95\xbe"', ' INDEX 00 16:03:02', ' INDEX 01 16:06:07', ' TRACK 06 AUDIO', ' TITLE "\xe5\xbb\xbb"', ' PERFORMER "\xe6\x9d\x8e\xe6\x81\x95\xe6\x9d\x83"', ' INDEX 00 19:30:30', ' INDEX 01 19:33:22', ' TRACK 07 AUDIO', ' TITLE "\xe6\x95\x85\xe4\xba\x8b\xe7\x9a\x84\xe7\x9c\x9f\xe7\x9b\xb8"', ' PERFORMER "\xe9\xbb\x84\xe4\xbb\xb2\xe6\x98\x86\xe3\x80\x81\xe6\x9d\xa8\xe6\x9e\x97"', ' INDEX 00 24:04:05', ' INDEX 01 24:06:12', ' TRACK 08 AUDIO', ' TITLE "\xe6\x89\xac\xe5\xb8\x86"', ' PERFORMER "\xe9\x98\xb3\xe5\xb8\x86"', ' INDEX 00 28:34:42', ' INDEX 01 28:37:22']
【 在 javame 的大作中提到: 】
: # -*- coding: UTF-8 -*-
: print 'Hello World!'
: songtrim = '''PERFORMER "Various"
: ...................
--
修改:javame FROM 101.88.253.*
FROM 101.88.253.*