title: How does terminal encoding work in vim?
body: <h2>In GNOME Terminal(3.4.1.1)</h2>
  
  <pre><code>$ echo $LANG
  en_US.UTF-8
  
  $ echo 你好 | iconv -f UTF8 -t UTF32BE | tee hello.txt
  O`Y}
  </code></pre>
  
  <h2>In vim(7.3):</h2>
  
  <pre><code>$ vim -N -u NONE --cmd 'set tenc=utf32 enc=utf32 fencs=utf32be' hello.txt
  你好
  ~
  ~
  ~    
  
  :set tenc enc fenc
    termencoding=ucs-4
    encoding=ucs-4
    fileencoding=ucs-4
  </code></pre>
  
  <hr>
  
  <p>The terminal cannot display <code>UTF32</code> characters.<br>
  After modifying several encoding options of Vim.<br>
  Vim still can display <code>UTF32</code> without any problems.<br>
  Why?</p>