[jboss-jira] [JBoss JIRA] (JBRULES-3635) The encoding used in Drools by default encoding need to be configured

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


     [ https://issues.jboss.org/browse/JBRULES-3635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

大伟 张 updated JBRULES-3635:
--------------------------

    Summary: The encoding used in Drools by default encoding need to be configured  (was: The encoding used in Drools by default encoding need to be configured?)

    
> The encoding used in Drools by default encoding need 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