Fix encoding issues in paper_data function and add tests for text decoding 6440752 raannakasturi commited on Jan 3