luke- strange escaping behavior

on OS X it seems there is some significant problems with escaping
strings. It is odd to say the least and may well be the result of a
misconfigured webserver on the development machine