title: utf8 decode for fpdf in php
body: <p>I generate pdf file for personal detail of a person. I added language field in that pdf page. I using more than 48 country languages print in my pdf. </p>
  
  <p>example of language list are:    Afrikaans, Bahasa Indonesia, Bahasa Melayu, Català, Čeština, Cymraeg, Dansk, Deutsch, English (UK), English (US), Español, Español (España), Euskara, Filipino, Français (Canada), Français (France), Hrvatski, Italiano, Lietuvių, Magyar, Nederlands, Norsk (bokmål), Polski, Português (Brasil), Português (Portugal), Română, Slovenčina, Slovenščina, Suomi, Svenska, Tiếng Việt, Türkçe, Ελληνικά, Български, Русский, Српски, हिन्दी, বাংলা, ਪੰਜਾਬੀ, தமிழ், తెలుగు, മലയാളം, ภาษาไทย, 한국어, 中文(台灣), 中文(简体), 中文(香港), 日本語 </p>
  
  <p>I need to print same format of all language in my fpdf php page. now i using below code in my php file.</p>
  
  <p>header("Content-type: application/pdf; charset=utf-8");
  mysql_query ("set character_set_results='utf8'");</p>
  
  <p>I assign all language in this variable $language</p>
  
  <p>$language= utf8_decode($language);
  $pdf->MultiCell(80,6,$language,0,1,'L');</p>
  
  <p>I got output like this:</p>
  
  <p>Afrikaans, Bahasa Indonesia, Bahasa Melayu, CatalÃ ,
  Ä?eÅ¡tina, Cymraeg, Dansk, Deutsch, English (UK),
  English (US), EspaÃ±ol, EspaÃ±ol (EspaÃ±a), Euskara,
  Filipino, FranÃ§ais (Canada), FranÃ§ais (France),
  Hrvatski, Italiano, LietuviÅ³, Magyar, Nederlands, Norsk
  (bokmÃ¥l), Polski, PortuguÃªs (Brasil), PortuguÃªs
  (Portugal), RomÃ¢nÄ?, SlovenÄ•ina, SlovenÅ¡Ä•ina,
  Suomi, Svenska, Tiáº¿ng Viá»?t, TÃ¼rkÃ§e,
  Î?Î»Î»Î·Î½Î¹ÎºÎ¬, Ð?Ñ?Ð»Ð³Ð°Ñ?Ñ•ÐºÐ¸, Ð Ñ?Ñ•Ñ•ÐºÐ¸Ð¹,
  Ð¡Ñ?Ð¿Ñ•ÐºÐ¸, à¤¹à¤¿à¤¨à¥•à¤¦à¥?, à¦¬à¦¾à¦?à¦²à¦¾,
  à¨ªà©°à¨?à¨¾à¨¬à©?, à®¤à®®à®¿à®´à¯•,
  à°¤à±?à°²à±•à°?à±•, à´®à´²à´¯à´¾à´³à´?,
  à¸ à¸²à¸©à¸²à¹?à¸?à¸¢, í??êμì?
  ´, ä¸æ??(
  å•°ç•£),
  ä¸æ??(
  ç®?ä½?), ä¸æ??(
  é¦?æ¸¯), æ?¥æ?¬èª?</p>
  
  <p>I need to generate pdf in original format of all langauge text.</p>