Wednesday, April 11, 2007

Python procedure header

#!/usr/bin/env python
# -*- coding: utf-8 -*-

以前根本不注意程序的编码,现在做web的时候遇到问题了。干脆全都定义成unicode,以免后患。

1 comment:

Anonymous said...

You write very well.