Expose the has_non_ascii() function