PHP Classes

Translate from English to Hindi

Recommend this page to a friend!

      Small Google Translator  >  All threads  >  Translate from English to Hindi  >  (Un) Subscribe thread alerts  
Subject:Translate from English to Hindi
Summary:Problem in English to Hindi
Messages:2
Author:yogesh joshi
Date:2010-09-29 10:21:32
Update:2010-09-29 15:32:35
 

  1. Translate from English to Hindi   Reply   Report abuse  
Picture of yogesh joshi yogesh joshi - 2010-09-29 10:21:44
When i use this program for translation from english to hindi, Its showing some garbage character in output. like this

बस मुद्रण और टाइप बै ना उद्योग के डमी पा है. Lorem Ipsum 1500s, ......

Is there any font required in my PC to see Hindi words?

Please help!

Thanks!

  2. Re: Translate from English to Hindi   Reply   Report abuse  
Picture of Pawan Adhikari Pawan Adhikari - 2010-09-29 15:32:35 - In reply to message 1 from yogesh joshi
Since, the return of this class is in the UniCode format. You need to include "<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />" in your HTML page's HEAD section. Then the class will work just fine.

I have put it in the example script as well.