I want to read regional language alphabets for example kannada alphabets which is a regional language of karnatka India using matlab.what code is required to do that

3 views (last 30 days)
kannada alphabets text document to be read using matlab.It is very much required for my project.
  3 Comments

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 19 Oct 2015
YourText = native2unicode( uint8( fileread('YourUTF8File.txt') ), 'UTF-8');
  4 Comments
Swapna Havalgi
Swapna Havalgi on 26 Nov 2015
Edited: Walter Roberson on 26 Nov 2015
This code below is not reading the kannada text from the text document it is just showing the boxes (tofu) can anyone suggest solution ?
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);

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!