Skip to content

Automatically add / strip BOMΒ #3040

Closed
Closed
@vsemozhetbyt

Description

@vsemozhetbyt

Node does not add or strip BOM when reading or writing utf16le or utf8 files. User must do it manually in all the text IOs.

It is especially inconvenient with streams: for example, in reading huge file line by line, user must check the BOM or some variabe (alreadyStripped) for each line.

Would it be handy to entrust these actions to Node?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.fsIssues and PRs related to the fs subsystem / file system.i18n-apiIssues and PRs related to the i18n implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions