Textscan can't read letters with acents
3 次查看(过去 30 天)
显示 更早的评论
Hi I am trying to read a csv file of names which include some names with accented letters such as the lower case version of "Á" (can't find a lower case a with an accent on my keyboard). Textscan just ignores the character. Any ideas how we can read these characters with text?
2 个评论
Sara
2014-6-26
Can you post an example of your cvs file? textscan has no problem if I build a string with such a character.
采纳的回答
Ken Atwell
2014-6-27
A .CSV file is an ASCII file without character set encoding information. You might need to experiment with different encodings to stumble upon the one the file was created with.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!