Added string_filter_non_unicode This function replaces all non-unicode characters in a pike string with 0xffea