patch from Joseph for linux accents

- fixes an issue on linux where accents show up as ?