matlab recognise french character
Show older comments
Hi, i have installed matlab 2011a on windows in French, but it seems that matlab doesn't recognise the letters with accent. What should I do?
Accepted Answer
More Answers (3)
Hervé
on 16 Jan 2016
2 votes
Note that Release R2015b of Matlab natively fixes this bug for "dos" and "!". We thus don't need this trick any more. (More over applying this method in (≥)R2015b would now give bad results). For information.
José-Luis
on 16 Jan 2014
What character encoding are you using? Might be that French is not supported for it. You could always change it.
doc slCharacterEncoding
3 Comments
Walter Roberson
on 16 Jan 2014
You might also need to change your MS Windows default font to one of the ISO 8996 compatible fonts such as an 8996-1 font. Also you might need to change your keyboard setting.
(Sorry, I have not dug into MS Windows fonts for a fair while so I do not have exact instructions. And finding the right widget is probably pretty different in Windows 8...)
Gabriela
on 16 Jan 2014
Walter Roberson
on 16 Jan 2014
How are you attempting to use the characters? You cannot use them in variable names. You can use them in comments and in strings. Azzi showed an example in a string; using that example depends upon your MS Windows font and keyboard settings.
Azzi Abdelmalek
on 16 Jan 2014
Edited: Azzi Abdelmalek
on 16 Jan 2014
If I write
s='Hétérogénéité'
The result is
s=
Hétérogénéité
You can't use Hétérogénéité as a variable, but you don't need it
3 Comments
Gabriela
on 16 Jan 2014
Edited: Azzi Abdelmalek
on 16 Jan 2014
José-Luis
on 16 Jan 2014
What does slCharacterEncoding() return?
Gabriela
on 16 Jan 2014
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!