fixed: support hashing of wide chars.