title: How do I set LC_CTYPE to C?
body: <p>I'm trying to set <code>LC_CTYPE</code>, <code>LC_COLLATE</code> to <code>C</code>, while keeping the remaining <code>LC_*</code> set to <code>"en_US.UTF-8"</code>.  I'm working inside an Ubuntu 16.04 VM.  My current environment has:</p>
  
  <pre><code>$ locale
  LANG=en_US.UTF-8
  LANGUAGE=en_US
  LC_CTYPE="en_US.UTF-8"
  LC_NUMERIC="en_US.UTF-8"
  LC_TIME="en_US.UTF-8" 
  LC_COLLATE="en_US.UTF-8"
  LC_MONETARY="en_US.UTF-8"
  LC_MESSAGES="en_US.UTF-8"
  LC_PAPER="en_US.UTF-8"
  LC_NAME="en_US.UTF-8"
  LC_ADDRESS="en_US.UTF-8"
  LC_TELEPHONE="en_US.UTF-8"
  LC_MEASUREMENT="en_US.UTF-8"
  LC_IDENTIFICATION="en_US.UTF-8"
  LC_ALL=
  </code></pre>
  
  <p>and</p>
  
  <pre><code>$ locale -a
  C
  C.UTF-8
  en_US.utf8
  &lt;some other locales&gt;
  POSIX
  </code></pre>
  
  <p>When I RUN</p>
  
  <pre><code>$ sudo update-locale LC_CTYPE=C
  </code></pre>
  
  <p>LC_CTYPE doesn't get set</p>
  
  <pre><code>$ locale
  LANG=en_US.UTF-8
  LANGUAGE=en_US
  LC_CTYPE="en_US.UTF-8"
  LC_NUMERIC="en_US.UTF-8"
  LC_TIME="en_US.UTF-8" 
  LC_COLLATE="en_US.UTF-8"
  LC_MONETARY="en_US.UTF-8"
  LC_MESSAGES="en_US.UTF-8"
  LC_PAPER="en_US.UTF-8"
  LC_NAME="en_US.UTF-8"
  LC_ADDRESS="en_US.UTF-8"
  LC_TELEPHONE="en_US.UTF-8"
  LC_MEASUREMENT="en_US.UTF-8"
  LC_IDENTIFICATION="en_US.UTF-8"
  LC_ALL=
  </code></pre>
  
  <p>I <em>can</em> see the default has been written to the file</p>
  
  <pre><code>$ cat /etc/default/locale
  # File generated by update-locale
  LC_CTYPE=C
  </code></pre>
  
  <p>but when I <code>source ~/.bashrc</code> or restart the VM, it still doesn't show <code>"C"</code>. There also isn't an <code>LC_CYTPE</code> variable (which I don't understand).</p>
  
  <pre><code>$ echo $LC_CTYPE
  &lt;empty string here&gt;
  </code></pre>
  
  <p>What am I missing?</p>