working on charset for the search