bndtools/bnd — Issue #131: Encoding problems in manifest when including non ISO-8859-1 files
Author: gdouillet
Created: 2012-01-22 09:49:42+00:00
State: open

Hello

When using the "-include" directive to a non ISO-8859-1 encoded target file (like an UTF-8 file for example), accented characters are garbled in the resulting bundle manifest.

This is because aQute.lib.osgi.Processor uses the standard java.util.Properties load(InputStream is) method which waits for an ISO-8859-1 encoded stream.

A workaround is to use Unicode escapes in included files, but this is not very convenient.