Added proper handling for Unicode characters in title.