unicode2ascii

Converts unicode endcoded files to ASCII encoded files
6,8K descargas
Actualizado 11 abr 2006

Sin licencia

UNICODE2ASCII Converts unicode endcoded files to ASCII encoded files
UNICODE2ASCII(FILE)
Converts the file to ASCII (overwrites the old file!)
UNICODE2ASCII(SOURCEFILE, DESTINATIONFILE)
Converts the contents of SOURCEFILE to ASCII and writes it to DESTINATIONFILE
ASCIISTRING = UNICODE2ASCII('string', UTFSTRING)
Converts the UTFSTRING to ASCII and returns the string.

The unicode header and all 0-bytes will be deleted. If there are characers with encoding > FF then the file will continue to contain garbage because there is no ASCII representation for those characters. But about 99% of the files should convert ok.

Citar como

Stefan Eireiner (2024). unicode2ascii (https://www.mathworks.com/matlabcentral/fileexchange/10686-unicode2ascii), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R13
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

added functionality to convert strings.