|
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).
PythonScript/PythonScript/src/NotepadPython.cpp
Lines 268 to 276 in 2ec7dfa
Since N++ commit 8149f72 in v8.8.8,
uniCookiehas been known asuniUTF8_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 meaninglessCOOKIEelement, or making them aliases for the same value (4).