make search work with chinese/japanese imes. fixes #814