fix: encoding issues with non-ascii chars.