give encoding hints in type, bytestring -> encoded