We only ever call it with native string literals, but yes, it would make sense to use  a unicode string. Pushing a fix.