Use a PHP levenshtein solution that allow > 255 characters input.

Source: http://php.net/levenstein