title: Javascript: Get symbol unicode from Font Awesome
body: <p>Lets say I have camera-retro icon with unicode: '\uf083'. Now camera-retro icon in FontAwesome has unicode of '\f083'. How would I get the original unicode of camera-retro icon from FontAwesome icon?</p>
  
  <p>Here is the example that shows generating SVG element with font-awesome. As you can see it only works with original unicode. That's why I need to get the original unicode, not the font-awesome one
  <a href="http://jsbin.com/zusehowave/edit?html,js,output" rel="nofollow noreferrer">DEMO</a></p>
  
  <p>I am able to get the FontAwesome unicode with this function:</p>
  
  <pre><code>function faUnicode(name) {
      var testI = document.createElement('i');
      var char;
  
      testI.className = 'fa ' + name;
      document.body.appendChild(testI);
  
      char = window.getComputedStyle( testI, ':before' )
          .content.replace(/'|"/g, '');
  
      testI.remove();
      return char.charCodeAt(0);
  }
  </code></pre>
  
  <p>But as I said, I need to get the original unicode of that icon. Any ideas?
  Basically in return I want String like '\uf083';</p>