RobotStudio editor rewrites a file in UTF-8-BOM format
in RobotStudio
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
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:
0
Answers
-
Hello Rene,
I will investigate and get back to you.—Maxim RiabichevPC Software Support Engineer0 -
Hello,
Sorry for a late response, but this issue has been resolved in version 2022.3.1 of RobotStudio.—Maxim RiabichevPC Software Support Engineer0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings