Back to index

plone3  3.1.7
Namespaces | Functions | Variables
convert_to_utf-8.py File Reference

Go to the source code of this file.

Namespaces

namespace  convert_to_utf-8

Functions

def convert_to_utf-8.convert

Variables

list convert_to_utf-8.infilename = sys.argv[1]
list convert_to_utf-8.outfilename = sys.argv[2]
string convert_to_utf-8.encoding = 'ISO-8859-1'
tuple convert_to_utf-8.fpi = open(infilename)
tuple convert_to_utf-8.data = fpi.read()
tuple convert_to_utf-8.utfdata = convert(data, encoding)
tuple convert_to_utf-8.fpo = open(outfilename, 'wb')