Related to Arabic langage

6 views (last 30 days)
Ebtesam Almansor
Ebtesam Almansor on 27 Sep 2016
Answered: Abed on 13 Mar 2022
Hi there, I have problem to deal with Arabic language in mat lab, the output appear like???????. I try to used this code
stopword='هذه'
stopword=native2unicode(stopword ,'UTF-8');
but it the out put and the array in work space print ??????? rather than Arabi
  1 Comment
Dan Po
Dan Po on 27 Sep 2016
theres probably a. arabic language package somewhere. it doesnt look like matlab recognizes the characters.

Sign in to comment.

Answers (3)

Ebtesam Almansor
Ebtesam Almansor on 29 Sep 2016
How can I solve it please

Michael Abboud
Michael Abboud on 29 Sep 2016
The ability to use Unicode characters in the MATLAB Command Window was incorporated into MATLAB R2014b and all future releases. From your description, it sounds like you may have a previous version, in which case upgrading to a more recent release such as MATLAB R2016b should solve the issue.
If you are unable, there is a possible workaround. You may be able to get MATLAB to display sets of the Unicode characters by setting the computer's locale correctly. The steps for this vary from OS to OS, but can be found through the following command:
>> docsearch Setting the Locale

Abed
Abed on 13 Mar 2022
Hello,
you can write:
>> stopword=native2unicode('هذه' ,'UTF-8');

Community Treasure Hunt

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

Start Hunting!