<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">How are you loading your rules? <br>
      When loading in code you should be able to specify the correct
      encoding.<br>
      When using Spring, you may be struck by JBRULES-3633. You could
      vote for the issue or use the patch contained in it.<br>
      <br>
      Kind regards,<br>
      Joachim<br>
      <br>
      On 21-09-12 22:23, Fernando Penagos wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ=kDgpe3BSFKJy8hGHU6CYwdPMJc28u2Lf4cY8QxefrdhK7xA@mail.gmail.com"
      type="cite">Hi everyone,&nbsp;
      <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.&nbsp;</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>&Ntilde;</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 '&Ntilde;' 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&Atilde;&#8216;O</b>)</div>
      <div><br>
      </div>
      <div>So the rule is never true.&nbsp;</div>
      <div><br>
      </div>
      <div>I've&nbsp;tried&nbsp;whit some&nbsp;advises&nbsp;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&nbsp;specific&nbsp;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&oacute;mez<br>
          Ingenier&iacute;a de Sistemas</div>
        <div>Universidad Distrital Francisco Jos&eacute; de Caldas<br>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>