ResourceUtils uses default encoding in copyResource

Description

The method org.codehaus.cargo.container.internal.util.ResourceUtils#copyResource(String resourceName, String destFile, FileHandler handler, FilterChain filterChain) creates InputStreamReader with the default encoding.

If the resource (text) file has another encoding this can actually corrupt the content.

Status

Assignee

Savas Ali Tokmen

Reporter

Kiril Arabadzhiyski

Fix versions

Affects versions

1.0.3

Priority

Major