Fix error when command contain accented characters