[jboss-jira] [JBoss JIRA] (JBRULES-3635) Can we change the encoding used in Drools by default encoding to be configured?

大伟 张 (JIRA) jira-events at lists.jboss.org
Fri Sep 21 22:55:34 EDT 2012


大伟 张 created JBRULES-3635:
-----------------------------

             Summary: Can we change the encoding used in Drools by default encoding to be configured?
                 Key: JBRULES-3635
                 URL: https://issues.jboss.org/browse/JBRULES-3635
             Project: Drools
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: drools-core
    Affects Versions: 5.0.1.FINAL
            Reporter: 大伟 张
            Assignee: Mark Proctor


Can we change the encoding used in Drools by default encoding to be configured?
bacause i want to use chinese charset in rule content, according to the current Mechanism of drools, i need to change system default encoding to UTF-8 or other supporting the Chinese character set, it will make impact to whole system, So we hope Drools can support set encoding.
like follow method:
{code:title=ByteArrayResource.java|borderStyle=solid}
public Reader getReader() throws IOException {
        return new InputStreamReader( getInputStream());
        //here can we support config encoding
        //return new InputStreamReader( getInputStream(), "UTF-8" );
    }
{code} 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list