The text mode IDE does not support UTF-8 (this will improve with 3.3.1), however by default Linux terminals use UTF-8. Your older files are probably stored in some single Byte encoding (e.g. ISO-8859-1); take a look at them with a hex editor to check whether the accented characters consist of one or multi Byte.
So, yes, this is the expected behavior.