Github user PascalSchumacher commented on a diff in the pull request: https://github.com/apache/incubator-groovy/pull/176#discussion_r44221781 --- Diff: src/main/org/codehaus/groovy/runtime/ResourceGroovyMethods.java --- @@ -831,9 +836,8 @@ public static File leftShift(File file, InputStream data) throws IOException { } /** - * Write the text to the File, using the specified encoding. If the given - * charset is "UTF-16BE" or "UTF-16LE" (or an equivalent alias), the - * requisite byte order mark is written to the file before the text. + * Write the text without a BOM to the File without writing a BOM, using --- End diff -- This sentence seems a bit confusing to me.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---