Convert query from utf-8 to euc-jp