How do I determine my MATLAB default character encoding scheme?
31 次查看(过去 30 天)
显示 更早的评论
Using unicode2native with a single argument, it defaults to "the MATLAB default character encoding scheme". How do I find out what my default is?
0 个评论
回答(4 个)
Grzegorz Knor
2011-9-8
Use java class:
import java.nio.charset.Charset
encoding = Charset.defaultCharset()
2 个评论
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/>
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!