Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2009-07-31 18:29:33 +0000
committerDJ Houghton2009-07-31 18:29:33 +0000
commit384f94191b66a67c59842b168cde794bb64cdbe7 (patch)
tree415e69807c47db5a51279f6813f7ac2cbf222a05 /bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src
parent28e0ded6157c2d1a68fd65eea0c84dc0cccb6ce8 (diff)
downloadrt.equinox.p2-384f94191b66a67c59842b168cde794bb64cdbe7.tar.gz
rt.equinox.p2-384f94191b66a67c59842b168cde794bb64cdbe7.tar.xz
rt.equinox.p2-384f94191b66a67c59842b168cde794bb64cdbe7.zip
Bug 284031 - Error while parsing manifestv20090731-1600
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src')
-rw-r--r--bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Util.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Util.java b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Util.java
index d9a7b1e59..15fa59ce5 100644
--- a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Util.java
+++ b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Util.java
@@ -173,7 +173,7 @@ public class Util {
bundleInfo.setManifest(manifest);
try {
- Map headers = ManifestElement.parseBundleManifest(new ByteArrayInputStream(manifest.getBytes()), new HashMap());
+ Map headers = ManifestElement.parseBundleManifest(new ByteArrayInputStream(manifest.getBytes("UTF-8")), new HashMap()); //$NON-NLS-1$
ManifestElement[] element = ManifestElement.parseHeader("bsn", (String) headers.get(Constants.BUNDLE_SYMBOLICNAME)); //$NON-NLS-1$
if (element == null || element.length == 0)
return null;

Back to the top