correct handling of readme encoding