o Fixed encoding issue

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751547 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-03-08 23:13:14 +00:00
parent 3a6236b569
commit 46860ec695
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ public class DefaultProfileManager
List<ModelProperty> p;
try
{
p = ModelMarshaller.marshallXmlToModelProperties(new ByteArrayInputStream(writer.getBuffer().toString().getBytes()),
p = ModelMarshaller.marshallXmlToModelProperties(new ByteArrayInputStream(writer.toString().getBytes( "UTF-8" )),
ProjectUri.Profiles.xUri, PomTransformer.URIS);
} catch (IOException e) {
throw new ProfileActivationException(e.getMessage());