problems with char(XX) when XX is larger than 127
4 ビュー (過去 30 日間)
古いコメントを表示
Hello, there. I've encountered the following problem.
As I typed in char(120:180), I got a lot of ? marks like this:
>> char(120:180)
ans =
xyz{|}~?????????????????????????????????????¤??§¨???????°±???
There is no problem for my MATLAB to recognize characters smaller than 127, however, it just can't recognize other characters?
Also, my PC system's default language is Chinese, when I'm writing to an Excel file with some Chinese characters in it, there is no problem. BUT, when I'm sending an email with an Excel attachment that has an Chinese character name, the file name just become a bunch of garbled characters. Like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164835/image.png)
Title of the email and the message displays Chinese characters alright, just the name of the attachments is messed up encoding. I guess these two problems are related, please help, thanks.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Web Services についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!