How do I determine my MATLAB default character encoding scheme?
조회 수: 43 (최근 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!