Recovering toUnicode for Mac Quartz

Attempt to address #4548