IsUnicode

ISUNICODE Checks if and which unicode header a file has.

Vous suivez désormais cette soumission

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

Citation pour cette source

Stefan Eireiner (2026). IsUnicode (https://fr.mathworks.com/matlabcentral/fileexchange/10683-isunicode), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : Information-based Similarity Toolbox

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

- Added functionality to check strings
- other minor improvements