RobotStudio editor rewrites a file in UTF-8-BOM format

Options
Hey,

why does the editor of RobotStudio change the file format of a .txt file to UTF-8-BOM?
(Open a .txt file from the controller, edit it and "apply" the changes (rapid tab))

UTF-8-BOM adds an unnecessary 3 bytes sequence at the start of the file: "" (0xEF, 0xBB, 0xBF) that describes the byte ordering (little endian / big endian) (which is not available for UTF8)
According to the Unicode Standard: "Use of a BOM is neither required nor recommended for UTF-8" [http://www.unicode.org/versions/Unicode5.0.0/ch02.pdf Page 36]

Due to that behavior, I have to check each .txt file for that BOM header and remove it in RAPID code
Tagged:

Answers

  • Maxim Riabichev
    Options
    Hello Rene,

    I will investigate and get back to you.

    Maxim Riabichev
    PC Software Support Engineer
  • Hello,

    Sorry for a late response, but this issue has been resolved in version 2022.3.1 of RobotStudio.

    Maxim Riabichev
    PC Software Support Engineer