How do I determine my MATLAB default character encoding scheme?
30 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (4)
Grzegorz Knor
il 8 Set 2011
Use java class:
import java.nio.charset.Charset
encoding = Charset.defaultCharset()
2 Commenti
Grzegorz Knor
il 8 Set 2011
"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/>
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!