Test with non-ascii. Add compatibility function.