Knut-Olav Hoven created CAMEL-7315:
--------------------------------------

             Summary: SPI locator fails when using a charset such as UTF16
                 Key: CAMEL-7315
                 URL: https://issues.apache.org/jira/browse/CAMEL-7315
             Project: Camel
          Issue Type: Bug
          Components: camel-core
            Reporter: Knut-Olav Hoven


Java 6 ServiceLocator requires SPI resources to be encoded in UTF8 according to 
<http://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html>.

I believe Camel SPI locator should confirm to this.

Pull request with patch:
<https://github.com/apache/camel/pull/115>

Sorry for not supplying tests. Try running tests using property 
"file.encoding=UTF16" :)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to