MATLAB COMPILER RELEASE NOTES User's Guide Page 247

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 246
Desktop Tools and Development Environment
8-5
fpOut = fopen(outfile, 'w', 'n', 'UTF-8');
while feof(fpIn) == 0
lineIn = fgets(fpIn);
fwrite(fpOut, lineIn, 'char');
end
fclose(fpIn);
fclose(fpOut);
end
Compatibility Considerations
In a future release, the UTF-8 version of the MathWorks locale database will be the
default on Mac OS X systems. Any text file created in MATLAB that is encoded in the
user default encoding and contains characters other than 7-bit ASCII characters must
be converted to the UTF-8 encoding scheme. Otherwise, MATLAB and other MathWorks
products might not be able to properly load the files.
You must convert the file encoding before changing the default locale database.
Page view 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 715 716

Comments to this Manuals

No comments