wavecos / google-api-objectivec-client

Automatically exported from code.google.com/p/google-api-objectivec-client
0 stars 0 forks source link

Error when using UTF-8 characters #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem? (Example)
1. Build and run the youtube upload video example
2. Enter some chinese characters into the description, for example 这将打破
3. Try to upload the video

I have also tried escaping utf8  text, this can be uploaded without an error 
code but the literal ASCII string is then used as the description.

What is the expected output? What do you see instead?
This should upload a video with the following description: 这将打破
Error: Error Domain=com.google.HTTPStatus Code=503 "The operation couldn’t be 
completed. (com.google.HTTPStatus error 503.)"

This problem doesn't seem limited to Youtube, the following links are other 
examples for the code not working correctly:

http://stackoverflow.com/questions/17396715/google-drive-returns-503-error-when-
uploading-a-file-with-non-ascii-title

http://stackoverflow.com/questions/17374604/q-google-drive-returns-503-error-whe
n-uploading-a-file-with-non-ascii-filename

http://stackoverflow.com/questions/17357326/with-objective-c-sdk-google-drive-re
turns-503-error-when-uploading-a-file-with

Original issue reported on code.google.com by bendor...@gamesfaction.com on 1 Jul 2013 at 4:50

GoogleCodeExporter commented 9 years ago
Thanks for reporting this issue. The API server team is investigating.  The 
internal bug number for this at Google is 9660366.

Original comment by grobb...@google.com on 2 Jul 2013 at 1:12

GoogleCodeExporter commented 9 years ago
We have this problem with YouTube uploads. Our app ships in 11 languages and 
many of them just won't be able to upload at al. We can't ship the app update 
until this is fixed.

Original comment by jhalst...@gmail.com on 2 Jul 2013 at 4:28