This code below is not reading the kannada text from the text document it is just showing the boxes (tofu) instead of kannada letters any suggestions?

3 views (last 30 days)
Message = native2unicode( uint8(
fileread('C:\Users\welcome\Desktop\YourUTF8File.txt') ), 'UTF-8');
text(.5,.5,Message,'HorizontalAlignment','center','FontName','Noto Sans Kannada','FontSize',18)
axis off
disp(Message);

Answers (0)

Community Treasure Hunt

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

Start Hunting!