Decoding byte-escaped \xFF strings in PHP

Friday, 31 Jul 2009
I came across a multi-byte (UTF-8) string this week, that was encoded by the single-byte escaping \x, for example: His nickname was \xE2\x80\x98the Angel\xE2\x80\x99, which is kind of a clich\xC3\xA9 in my opinion. Which represents... » read this