Added a method to read a text file with a certain encoding.
Authored by: keess 2008-11-06
Parent: [r2149]
Child: [r2151]