print unpack('N1', '(òÿÿ')."\n"; # gives '687013887' print unpack('l1', '(òÿÿ')."\n"; # gives '-3544'