in reply to Wide character problem using Socket.pm

Well the problem isn't in Send.pm either. The problem is the string that becomes send's $_[1]. You created that string in a way that has put Unicode characters larger than chr(0xff) in it. But your socket is not marked as expecting UTF-8. So show us how you build the "packet".