佳音的博客

2007/12/21

python 去utf-8 bom

Filed under: Uncategorized — 佳音 @ 11:41 上午

#!/usr/bin/python
#-*- coding: utf-8 -*-
import os
import codecs
import time

from sys import *

__trim_ext_array__ = (“php”, “js”)

def trimBom(filename):

Powered by 00RZ