You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
When writing a text file with special characters (such as Hebrew, Russian or others), it is common to include a unique mark at the first bytes of the file.
However, Matlab functions such as writetable, that can be set to unicode, are not including this mark.
This function reads the file as binary, and extracts the marker. It can add it (if missing), change it, remove it, and write the result to the same file or to another one.
Cite As
Noam Greenboim (2026). Update BOM for Unicode text files (https://www.mathworks.com/matlabcentral/fileexchange/75708-update-bom-for-unicode-text-files), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (2.24 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
