I want to convert from windows-1252 to utf-8 in python, I wrote this code:
def encode(input_file, output_file): f = open(input_file, "r")