Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3635

Can we change the encoding used in Drools by default encoding to support config

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 5.0.1.FINAL
    • drools-core
    • None

      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:

      ByteArrayResource.java
      public Reader getReader() throws IOException {
              return new InputStreamReader( getInputStream());
              //here can we support config encoding
              //return new InputStreamReader( getInputStream(), "UTF-8" );
          }
      

              mproctor@redhat.com Mark Proctor
              zacard.zhang 大伟 张 (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson

                Created:
                Updated:
                Archived: