title: Special characters are not displayed correctly in the Linux Terminal
body: <p>I have a file encoded in UTF-8, as it is shown by the following command : 
  <code>file -i D.txt D.txt: text/plain; charset=utf-8
  </code>
  I just want to display each character one after one, so I have done this : </p>
  
  <pre><code>FILE * F_entree = fopen("D.txt", "r");
  if (! F_entree) usage("impossible d'ouvrir le fichier d'entrée");
  
  char ligne[TAILLE_MAX];
  while (fgets(ligne, TAILLE_MAX, F_entree))
  {
      string mot = strtok(strdup(ligne), "\t");
  
      while (*mot++){printf("%c \n", *mot) ;}     
  }
  </code></pre>
  
  <p>But the special characters aren't well displayed (a <code>&lt;?&gt;</code> is displayed instead) in the terminal (on Ubuntu 12). I think the problem is that only ASCII code can be stocked in %c, but how can I display those special characters?</p>
  
  <p>And what's the good way to keep those characters in memory (in order to implement a tree index)? (I'm aware that this last question is unclear, don't hesitate to ask for clarifications.)</p>