Fixed unicode handling.  PHP sucks.