in reply to Code conversion

Ok, found it by myself:

$year2=chr(hex($year2));

The funny squares contain what I need. :)