Fixing characters encode