title: "Width" of character on screen
body: <p>I'm using Ncurses to write text editor. I would like to know if there is a way to determine how many different characters can be placed on screen, where each of the character is encoded with UTF-8. For example when I get screen width of 10 and one row, I can put 10 characters of width 1 with values as below: </p>
  
  <p>0123456789</p>
  
  <p>But when I would like to put whole row of smiling faces I can only put 4 of those, on screen of size 10:</p>
  
  <p></p>
  
  <p>So in this example smiling face takes width of 2,5 on screen. I would like to know is there a way to determine width of character on the screen?</p>