Fix STS-3465 and STS-3464: use proper character encoding in quicksearch