fixe bug when oppening a file with accent.