test for empty string in all encoding