Subject: | no reason to restrict utf8 strings |
YAML.pm LoadFile() creates utf8 strings by default, even if there are no utf8 characters in the YAML text file. The checks in Kafka::Connection etc. for utf8 characters end up making life difficult and tedious.
There's no reason to restrict arguments to non-utf8 characters. utf8 characters can be allowed in internationalized host names, for instance.
If it doesn't work, the user will figure it out. There is no reason to do excessive validation on the user's arguments to restrict the way they can use the library.
Thank you.
Mark