Hi Abi,

I'm happy to look into this further, but could you provide a bit more 
information? What are the source and target languages you're passing (if 
any)? I wasn't able to fully replicate your result without this info but 
did notice that in the output you pasted, there isn't a space between "isn" 
and "'ta" (and no space between the "t" and "a"), which means the API may 
not be recognizing "isn 'ta" and adding in ' instead. 

Thanks,

-Leslie

On Thursday, January 10, 2013 1:34:10 AM UTC-8, Abirami T wrote:
>
> Hi,
>  
> I see the single quote and double quote is not getting translated properly 
> with API. Googleapis itself returning the result as $#39; for single 
> quote which is compeltely incorrect. This may be because we are passing the 
> string in HTML. But is there any way to avoid this singe quote issue.
>  
> " is represented as "  
>  
> ' is represented as '
>  
> If I pass the string as "this isn't a test" -  I am getting the output 
> like mentioned below - The actual output should be "this isn't a test" 
> where single quote is not supported .
>  
>  
>
> {
>  "data": {
>   "translations": [
>    {
>     "translatedText": "this isn 'ta test"
>    }
>   ]
>  }
> }
>
>  
>
> Please advise and provide me the solution.
>
>  
>
> Thanks
>
> Abi
>
>  
>
>  
>

-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/7TL2uHXTk18J
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to