������越����全���俅胃�谢��

------
������拇��保��为tex2utf.py��
���� ��tex2utf.py ��转��tex�募� �����tex�募���

�� �� MrWrong (�状�|����) �拇������到: ��
: #!/usr/bin/env python
: import re,sys
: def convert(c):
:     return re.sub("\[[0-9A-F]{4}\?\]",lambda s: unichr(int(s.group()[1:5],16)),c)
: 
: if __name__ == "__main__":
:     fp = open(sys.argv[1])
:     fp1 = open(sys.argv[2],'w')
:     fp1.write(convert(fp.read()).encode('utf8'))
:     fp.close()
:     fp1.close()
: 
: 没���裕�������写��tk�模�������小���,���也��太�铡�

--

�� ��源:��水木���� newsmth.net��[FROM: 211.151.248.*]