Stellar1999 commented on code in PR #248: URL: https://github.com/apache/maven-archetype/pull/248#discussion_r1885468606
########## archetype-common/src/main/java/org/apache/maven/archetype/creator/FilesetArchetypeCreator.java: ########## @@ -1632,6 +1634,18 @@ private FileSet getUnpackagedFileSet( return createFileSet(excludes, false, filtered, group, includes, defaultEncoding); } + private String getFileCharsetEncoding(File detectedFile, String defaultEncoding) { + try (FileInputStream fileInputStream = new FileInputStream(detectedFile); + BufferedInputStream is = new BufferedInputStream(fileInputStream)) { Review Comment: Sorry, I don't understand what you mean actually. But I've changed my code, please take a look. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org