FromDK / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

Wrong encoding for Hebrew posts stream on Chromium (v 12 on Ubuntu) #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the sample : http://code.google.com/p/google-api-php-client/ on a 
Chromium browser
2. Hebrew post stream is displayed in wrong encoding (unreadable)
3. Switching to Firefox 6, everything displays fine. (without changing the code)

What is the expected output? What do you see instead?
Hebrew text in the stream of posts

What version of the product are you using? On what operating system?
Chromium 12.0.742.112 (90304) Ubuntu 11.04 64bit

Please provide any additional information below.

Original issue reported on code.google.com by nadavkav on 29 Sep 2011 at 9:15

GoogleCodeExporter commented 8 years ago
I downloaded and i have some problem
1 Some time google does not return the token, the sdk display throw an ugly 
exception. I discover that it's an error code 500. The detail are show below
2 And the property $accessType='offline' , what is it mean. Can i save the 
token to use offline ?

error:
object(apiHttpRequest)#9 (9) {
  ["url:protected"]=>
  string(42) "https://accounts.google.com/o/oauth2/token"
  ["requestMethod:protected"]=>
  string(4) "POST"
  ["requestHeaders:protected"]=>
  array(2) {
    ["content-type"]=>
    string(33) "application/x-www-form-urlencoded"
    ["content-length"]=>
    int(287)
  }
  ["postBody:protected"]=>
  string(287) "code=4%2FFDJD-lM2a55xPUAmGe2QF1vfyoni.QkEmhfbqhSAXgrKXntQAax2gozAfcgI&grant_type=authorization_code&redirect_uri=http%3A%2F%2Fwww.somewhere.com%2Fpreview%2Fsample%2Fhung-plus-test%2Fapp.php&client_id=565232092335.apps.googleusercontent.com&client_secret=Kydj4HlQl2KfME3RgQsdd"
  ["userAgent:protected"]=>
  string(59) "Google+ PHP Starter Application google-api-php-client/0.5.0"
  ["responseHttpCode:protected"]=>
  int(400)
  ["responseHeaders:protected"]=>
  array(10) {
    ["cache-control"]=>
    string(46) "no-cache, no-store, max-age=0, must-revalidate"
    ["pragma"]=>
    string(8) "no-cache"
    ["expires"]=>
    string(29) "Fri, 01 Jan 1990 00:00:00 GMT"
    ["date"]=>
    string(29) "Fri, 10 Aug 2012 09:58:13 GMT"
    ["content-type"]=>
    string(16) "application/json"
    ["x-content-type-options"]=>
    string(7) "nosniff"
    ["x-frame-options"]=>
    string(10) "SAMEORIGIN"
    ["x-xss-protection"]=>
    string(13) "1; mode=block"
    ["server"]=>
    string(3) "GSE"
    ["transfer-encoding"]=>
    string(7) "chunked"
  }
  ["responseBody:protected"]=>
  string(31) "{
  "error" : "invalid_grant"
}"
  ["accessKey"]=>
  NULL
}

Original comment by mhungo...@gmail.com on 10 Aug 2012 at 10:04

GoogleCodeExporter commented 8 years ago
Believe the encoding should be fixed, please reopen if still occurring.

Original comment by ianbar...@google.com on 22 Mar 2013 at 1:35