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/-/kiWJGjDEOgMJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to