utf8 support

hi,

this pull request should allow correct reading for utf-8 encoded files, while it should not change anything on ascii files.

regards,