Replacing the string causes it to not be utf-8 :(
UPDATE: it isn't the replacing
a.java is back for testing
Fixed most problems

Handles empty search results and unicode characters now.