I am not sure what the issue is. I assume it is an encoding issue. What I would like is for
pack(\'V\', 0x41) == "A"
to return true