Skip to content

[FEATURE] Rename/Alias BUFFERENCODING.COOKIE to BUFFERENCODING.UTF8_NOBOM #421

Description

@pryrt

boost::python::enum_<BufferEncoding>("BUFFERENCODING")
.value("ENC8BIT", uni8Bit)
.value("UTF8", uniUTF8)
.value("UCS2BE", uni16BE)
.value("UCS2LE", uni16LE)
.value("COOKIE", uniCookie)
.value("ANSI", uni7Bit)
.value("UCS2BE_NOBOM", uni16BE_NoBOM)
.value("UCS2LE_NOBOM", uni16LE_NoBOM);

Since N++ commit 8149f72 in v8.8.8, uniCookie has been known as uniUTF8_NoBOM.

Since "COOKIE" never made sense as the name/label for that encoding, it would really help the usability of developing new scripts to call that entry BUFFERENCODING.UTF8_NOBOM -- either getting rid of the meaningless COOKIE element, or making them aliases for the same value (4).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions