search: fix decoding Unicode is not supported.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>