IsUnicode

版本 1.0.0.0 (868 字节) 作者: Stefan Eireiner
ISUNICODE Checks if and which unicode header a file has.
909.0 次下载
更新时间 2006/4/11

无许可证

ISUNICODE Checks if and which unicode header a file has.
ISUC = ISUNICODE(FILENAME)
ISUC = ISUNICODE('string', TEXTSTRING)
ISUC is true if the file / string contains unicode characters, otherwise false. Exact Information about the encoding is also given.
ISUC == 0: No UTF Header
ISUC == 1: UTF-8
ISUC == 2: UTF-16BE
ISUC == 3: UTF-16LE
ISUC == 4: UTF-32BE
ISUC == 5: UTF-32LE

引用格式

Stefan Eireiner (2024). IsUnicode (https://www.mathworks.com/matlabcentral/fileexchange/10683-isunicode), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Text Files 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

- Added functionality to check strings
- other minor improvements