Closed GoogleCodeExporter closed 9 years ago
this is also true when creating a new assignment: all text inserted in japanese
become garbage text.
Original comment by acre...@gmail.com
on 17 Jan 2011 at 5:15
All form input and data display in YouTube Direct should be properly set up for
the UTF-8 character encoding. I've tested with multibyte Japanese characters in
the past and things have worked properly.
Could you confirm that you're entering UTF-8 characters and not characters in a
different, Japanese-specific character encoding?
Original comment by api.je...@gmail.com
on 18 Jan 2011 at 9:39
mmm, yes I am...
the admin: https://img.skitch.com/20110119-qk33g8kbdg28nb8k676udqxcnx.jpg
the embed info (firefox):
https://img.skitch.com/20110119-1qhkt1aebbu9p1778nhuky3d9q.jpg
I tried to add " <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" /> " on the embed jsp, but same result, the japanese entered
ends up as black squares on youtube.
AFAIK, my computer have a "normal" configuration, nothing fancy, and it works
very well when uploading on the youtube website.
This problem have been tested only on mac computers (safari/FF/chrome), might
be a Mac specific problem ?
Original comment by acre...@gmail.com
on 19 Jan 2011 at 1:36
made a quick screencast: http://www.youtube.com/watch?v=4iexTzffbpk
Original comment by acre...@gmail.com
on 19 Jan 2011 at 1:53
Ugh, it looks like you're right—something must have happened in a recent
checkin, because this did work in the past. I can reproduce the issue now
myself, and will work on a fix. I'll update this bug when that's done.
Original comment by api.je...@gmail.com
on 19 Jan 2011 at 7:42
So I'm able to consistently reproduce this when running the latest code from a
production App Engine instance, but when I run the identical code from my
development App Engine environment (SDK 1.3.8) I can't reproduce the issue and
the UTF-8 characters are persisted properly.
In the interest of narrowing things down, have you tried running a local
YouTube Direct development instance using the SDK and submitting videos via
that? Do you see proper handling of UTF-8 characters there?
Original comment by api.je...@gmail.com
on 19 Jan 2011 at 9:19
I tracked down what was going on—there was one piece of code that was reading
from the HTTP request body that did not explicitly state UTF-8 for the
character set. This is resolved in
http://code.google.com/p/youtube-direct/source/detail?r=573 and if you sync to
the latest SVN revision you should get the fix.
It's not clear at all why the development server and the production server
behaved differently in this regard, but in any case, things should be working
with the newest code. Please reopen the issue if that's not the case.
Original comment by api.je...@gmail.com
on 19 Jan 2011 at 9:43
It works! great!! thanks a lot :)
Original comment by acre...@gmail.com
on 20 Jan 2011 at 12:51
Original issue reported on code.google.com by
acre...@gmail.com
on 17 Jan 2011 at 5:14