You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/10/02 14:09:00 UTC

[jira] [Comment Edited] (IO-414) IOUtils.writeLines is not correct with a charset with BOM

    [ https://issues.apache.org/jira/browse/IO-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17728979#comment-17728979 ] 

Gary D. Gregory edited comment on IO-414 at 10/2/23 2:08 PM:
-------------------------------------------------------------

Hi [~florent.brosse] 

We'll need a PR on GitHub with a failing unit test.


was (Author: garydgregory):
Hi [~florent.brosse] 

We'll need a PR on GitHub.

> IOUtils.writeLines is not correct with a charset with BOM
> ---------------------------------------------------------
>
>                 Key: IO-414
>                 URL: https://issues.apache.org/jira/browse/IO-414
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Streams/Writers, Utilities
>    Affects Versions: 2.4, 2.5
>            Reporter: Florent Brosse
>            Priority: Major
>
> When a charset has a BOM (like UTF-16), the method IOUtils.writeLines put 2 BOM on each line.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)