% read in the file fID = fopen(filename, 'r', 'n', 'UTF-8'); bytes = fread(fID); fclose(fID);
% The data read from the file can then be converted into Unicode characters, like so: unic = native2unicode(bytes, 'UTF-8');
% if you want, clear the Carriage Returns, set the Line Feeds to a space unic(unic == 10) = []; unic(unic == 13) = ' ';
disp(unic'); % display the Unicode text