IsUnicode

version 1.0.0.0 (868 Bytes) by Stefan Eireiner
ISUNICODE Checks if and which unicode header a file has.

906 Downloads

Updated 11 Apr 2006

No License

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

Cite As

Stefan Eireiner (2022). IsUnicode (https://www.mathworks.com/matlabcentral/fileexchange/10683-isunicode), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Information-based Similarity Toolbox

Community Treasure Hunt

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

Start Hunting!