pentaho/pentaho-platform — pull request #1483 by diogofscmariano (2014-05-05 18:01:32+00:00)
Title: [SP-1254] - Regression PIR-994

Fixed encoding issue with Metadata domain save, by recovering old code and fixing issue in ByteArrayInputStream creation.
Cherry picked from 0429c31e0469725d79a0e80cc56bf6cfc673be10