I am currently using a jQuery Grid to display data written in spanish, the data is displayed perfectly with accents ( ´ ) but whenever I try to search data using accent the server gets a malformed string like ∫√ instead the letter with accent.
I am also sure this is a jQuery Grid problem since I am able to send data with accents submitting a form in the same page.
I also added the content type in the header it as follows:
<%@ page contentType="text/html;charset=UTF-8" %>
<sj:head jquerytheme="redmond" locale="es" />
This is the code of my jQuery grid wich I'm using with the struts2 plugin.
<s:url id="remoteurl" action="tabla-historial-director" />
<s:url id="selectperiodourl" action="periodos" />
<sjg:grid
id="grid"
caption="Trabajos Terminales dirigidos"
dataType="json"
href="%{remoteurl}"
pager="true"
navigator="true"
navigatorAdd="false"
navigatorDelete="false"
navigatorEdit="false"
gridModel="gridModel"
rowList="3,10,15,20"
rowNum="10"
hidegrid="false"
gridview="true"
viewrecords="true"
>
<sjg:gridColumn
align="center"
name="numRegistro"
index="numRegistro"
title="No. de registro"
width="120"
sortable="true"
search="true"
searchoptions="{sopt:['eq']}"
/>
<sjg:gridColumn
name="titulo"
index="titulo"
title="Título"
width="840"
search="true"
searchoptions="{sopt:['cn']}"
/>
<sjg:gridColumn
align="center"
name="tipo"
index="tipo"
title="Tipo"
width="60"
search="false"
/>
<sjg:gridColumn
align="center"
name="periodo"
index="periodo"
title="Periodo"
width="80"
search="true"
surl="%{selectcountrysurl}"
searchoptions="{sopt:['eq'], dataUrl : '%{selectperiodourl}'}"
searchtype="select"
/>
<sjg:gridColumn
align="center"
index="objetivo"
name="objetivo"
editable="true"
sortable="true"
hidden="true"
editrules="{ edithidden : true } "
title="Objetivo"
width="20"
/>
<sjg:gridColumn
search="false"
sortable="false"
name="idTT"
key="true"
title="Acción"
width="80"
formatter="formatLink"
/>
</sjg:grid>
Please I'd like to know how to use the search button along with spanish accents, thank you very much for the help.