Hi everyone, <div><br></div><div>I'm working whit Drools 5.4.0 final and the last version of Guvnor (5.40 final). I'm using eclipse as IDE. </div><div><br></div><div>The problem is whit this kind of actions that i have to use in my rules:</div>
<div><br></div><div>$asegurado.agregarExamenDeAsegurabilidad( "TRANSCRIPCION COPIA DEL RESULTADO DE LA ULTIMA MAMOGRAFIA (NO MAYOR A UN A<b>Ñ</b>O)" );</div><div><br></div><div>In this action the result is an insertion on an Array but if you observe there is a 'Ñ' and when i run the test i get something like:</div>
<div><br></div><div>TRANSCRIPCION COPIA DEL RESULTADO DE LA ULTIMA CITOLOGIA (NO MAYOR A UN <b>AÑO</b>)</div><div><br></div><div>So the rule is never true. </div><div><br></div><div>I've tried whit some advises in the forums like insert "-Dfile.encoding=ISO-8859-1" (i try with UTF-8 and Cp1252 too) on the arguments of the server i'm using to deploy guvnor but the problem remains plus other like try to save the file with an specific encode.</div>
<div><br></div><div>I already try to adding and "encoding" parameter to the "kagent" like this:</div><div><br></div><div><div>String encoding = "UTF-8";</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>kagent.applyChangeSet( ResourceFactory.newClassPathResource( "changeset.xml"),encoding);</div>
</div><div><br></div><div>But nothing seems to work. What am I doing wrong??</div><div><br></div><div>I hope you can help me and thank you all.</div><div><br></div><div><br></div><div>-- <br><div>Yuliban Fernando Penagos Gómez<br>
Ingeniería de Sistemas</div><div>Universidad Distrital Francisco José de Caldas<br></div><br>
</div>