mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-03 11:48:15 +00:00
Automatic merge from submit-queue Support loading UTF16 files if a byte-order-mark is present Add support in kubectl for loading UTF16 encoded files if they have a correct BOM (Byte-Order-Mark https://en.wikipedia.org/wiki/Byte_order_mark) at the beginning of the file. Falls back on UTF8 encoding, if no understandable BOM is present. Fixes part of https://github.com/kubernetes/kubernetes/issues/39007 @fabianofranz @deads2k @kubernetes/sig-cli-misc