How do I determine my MATLAB default character encoding scheme?
显示 更早的评论
Using unicode2native with a single argument, it defaults to "the MATLAB default character encoding scheme". How do I find out what my default is?
回答(4 个)
Grzegorz Knor
2011-9-8
Another solution:
feature('DefaultCharacterSet')
Grzegorz Knor
2011-9-8
Use java class:
import java.nio.charset.Charset
encoding = Charset.defaultCharset()
2 个评论
Matthew Simoneau
2011-9-8
Grzegorz Knor
2011-9-8
"MATLAB, unless you specify a particular encoding will use the computer's (user's) default encoding."
<http://blogs.mathworks.com/loren/2006/09/20/working-with-low-level-file-io-and-encodings/>
类别
在 帮助中心 和 File Exchange 中查找有关 Data Type Identification 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!