commit | fdddb05ff43cbbb4baba352bff67053ae38dd717 | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Wed Sep 07 10:48:31 2011 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Wed Sep 07 10:48:31 2011 +0000 |
tree | e8e1874322177d3ef72d02d3fafb619ad2282685 | |
parent | e24b2f7d2f703fef013c320830902f2f16198047 [diff] |
FELIX-3108 Fix a beginners bug by fixing the reader character stream to be UTF-8 instead of the platform encoding ... git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1166104 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/BundleComponentActivator.java b/scr/src/main/java/org/apache/felix/scr/impl/BundleComponentActivator.java index 6988ed2..e68a04d 100644 --- a/scr/src/main/java/org/apache/felix/scr/impl/BundleComponentActivator.java +++ b/scr/src/main/java/org/apache/felix/scr/impl/BundleComponentActivator.java
@@ -218,7 +218,7 @@ { stream = descriptorURL.openStream(); - BufferedReader in = new BufferedReader( new InputStreamReader( stream ) ); + BufferedReader in = new BufferedReader( new InputStreamReader( stream, "UTF-8" ) ); XmlHandler handler = new XmlHandler( m_context.getBundle(), this ); KXml2SAXParser parser;