Here's what I want to do :
1) decode utf8 stream to latin-1
2) remove all the accents
3) look for a town in a file
4) once the town is found (if it's found), the town is latin-1 encoded : encode the name of the town into utf8.
Any idea where i should take a look, and how I may implement (1) and (4) ?