<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238995</link>
    <title>MATLAB Central Newsreader - Solution Found: Changing default character set.</title>
    <description>Feed for thread: Solution Found: Changing default character set.</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 10 Nov 2008 17:38:01 -0500</pubDate>
      <title>Solution Found: Changing default character set.</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/238995#610103</link>
      <author>Vincent </author>
      <description>Hey all,&lt;br&gt;
&lt;br&gt;
I found a solution to a problem I have been struggling with. I can't find any solutions here either. So I hope by posting my solution, it can be of some help to others in the future. &lt;br&gt;
&lt;br&gt;
FYI, I have spoken to Matlab engineers about this. No solutions from them. This is an opportunistic find on my part.&lt;br&gt;
&lt;br&gt;
Background and problem::&lt;br&gt;
&lt;br&gt;
1. Matlab 2008a or 2008b.&lt;br&gt;
&lt;br&gt;
2. Installed on Linux 64bit machine.&lt;br&gt;
&lt;br&gt;
3. Problem similar to &lt;a href=&quot;http://www.mathworks.com/support/solutions/data/1-249V2X.html?solution=1-249V2X&quot;&gt;http://www.mathworks.com/support/solutions/data/1-249V2X.html?solution=1-249V2X&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
4. Accented characters appear as empty boxes in command window. For example, char(224) returns as an empty box instead of ?&lt;br&gt;
&lt;br&gt;
5. All accented characters  retrieved from DB will be interpreted as char(26) and shown as empty boxes. &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
The Solution:&lt;br&gt;
&lt;br&gt;
1. Fire up a fresh Matlab session.&lt;br&gt;
&lt;br&gt;
2. Type feature('DefaultCharacterSet','UTF8').&lt;br&gt;
&lt;br&gt;
3. Follow up with feature('DefaultCharacterSet'). This should return UTF-8 in the command window.&lt;br&gt;
&lt;br&gt;
4. Check accented characters with char() command.&lt;br&gt;
&lt;br&gt;
5. Add lines in 2 and 3 into your startup.m.&lt;br&gt;
&lt;br&gt;
6. Now Matlab will start up into UTF-8 under Linux 64bit every time.&lt;br&gt;
&lt;br&gt;
=======================================</description>
    </item>
  </channel>
</rss>

