Now works with Unicode characters.