diff --git a/pmd/xdocs/cpd.xml b/pmd/xdocs/cpd.xml index 82be9400bd..5be0aa1884 100644 --- a/pmd/xdocs/cpd.xml +++ b/pmd/xdocs/cpd.xml @@ -53,7 +53,7 @@ encoding - The character set encoding (e.g., UTF-8) to use when reading the source code files; defaults to locale setting. + The character set encoding (e.g., UTF-8) to use when reading the source code files, but also when producing the report. A piece of warning, even if you set properly the encoding value, let's say to UTF-8, but you are running CPD encoded with CP1252, you may end up with not UTF-8 file. Indeed, CPD copy piece of source code in its report directly, therefore, the source files keep their encoding. No