mzubairsaleem / gtranslate-api-php

Automatically exported from code.google.com/p/gtranslate-api-php
GNU General Public License v3.0
0 stars 0 forks source link

Hindi and other special character languages issue #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Translate english_to_hindi("hello").

Q: What is the expected output? What do you see instead?

expected output : नमस्ते
real output : नमस्ते

Q: What version of the product are you using? On what operating system?
product detail: 
author :Jose da Silva <jose@josedasilva.net>
since  : 2009/11/18
version:0.7.4
OS: Windows Xp s3

Q: Please provide any additional information below.

I create this php file as per my requirement or test.
please find the test file in attachment.
Required:GTranslate.php,languages.ini

Original issue reported on code.google.com by rohit.wa...@gmail.com on 7 Aug 2010 at 1:23

GoogleCodeExporter commented 8 years ago
I am experiencing the same on Debian Lenny, with Apache 2.2.9 and PHP 5.2.6

Original comment by erigo1...@gmail.com on 10 Sep 2010 at 10:40

GoogleCodeExporter commented 8 years ago
Did you add:

header('Content-Type: text/html; charset=utf-8');

Seems like a charset issue...

Original comment by mikebran...@gmail.com on 11 Sep 2010 at 1:46