Properly support of non-ascii strings by filters