title: Many emoji characters are not read by python file read
body: <p>I have a list of 1500 emoji character dictionary in a json file, and I wanted to import those to my python code, I did a file read and convert it to a python dictionary but now I have only 143 records. How can I import all the emoji to my code, this is my code.</p>
  
  <pre><code>import sys
  import ast
  
  file = open('emojidescription.json','r').read()
  non_bmp_map = dict.fromkeys(range(0x10000, sys.maxunicode + 1), 0xfffd)
  emoji_dictionary = ast.literal_eval(file.translate(non_bmp_map))
  
  #word = word.replaceAll(",", " ");
  
  keys = list(emoji_dictionary["emojis"][0].keys())
  values = list(emoji_dictionary["emojis"][0].values())
  
  file_write = open('output.txt','a')
  
  print(len(keys))
  for i in range(len(keys)):
      try:
          content = 'word = word.replace("{0}", "{1}")'.format(keys[i],values[i][0])
      except Exception as e:
          content = 'word = word.replace("{0}", "{1}")'.format(keys[i],'')
      #file.write()
      #print(keys[i],values[i])
      print(content)
  
  
  file_write.close()
  </code></pre>
  
  <p>This is my input sample</p>
  
  <pre><code>{
  
      "emojis": [
          {
  
              "‍": ["Graduate"],
              "©": ["Copy right"],
              "®": ["Registered"],
              "‍‍": ["family"],
              "‍❤️‍‍": ["love"],
              "™": ["trademark"],
              "‍❤‍": ["love"], 
              "⌚": ["time"],
              "⌛": ["wait"], 
              "⭐": ["star"],
              "": ["Elephant"],
              "": ["Cat"],
              "": ["ant"],
              "": ["cock"],
              "": ["cock"],
  </code></pre>
  
  <p>This is my result, and the 143 denotes number of emoji.</p>
  
  <blockquote>
    <p>143</p>
    
    <p>word = word.replace("�‍�‍�‍�", "family")</p>
    
    <p>word = word.replace("Ⓜ", "")</p>
    
    <p>word = word.replace("♥", "")</p>
    
    <p>word = word.replace("♠", "")</p>
    
    <p>word = word.replace("⌛", "wait")</p>
  </blockquote>