
.jpg?sfvrsn=3ad09b0a_1)
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
- 10.4K All Categories
- 5.3K RobotStudio
- 346 UpFeed
- 15 Tutorials
- 8 RobotApps
- 281 PowerPacs
- 404 RobotStudio S4
- 1.7K Developer Tools
- 238 ScreenMaker
- 2.6K Robot Controller
- 246 IRC5
- 36 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 689 RAPID Programming
- 14 Wizard Easy Programming
- 101 Collaborative Robots
- 3 Job listings