On Tue, Sep 24, 2013 at 3:57 AM, Haitao Zhang <[email protected]> wrote:

> i was a new user for engine web application
> After deploy my web application project to app engine,use
> out.println("测试") print  messy code .
>
> 1.i test project in window eclispe , and it can print correct chinese ,
> but when deploy to app engine, the log print messy code(like ??????--???)
>


The actual logs are still there, but the charset/encoding is different from
what App Engine is expecting so you get those question marks and characters
that look like boxes. See here for an example:
http://stackoverflow.com/questions/5445137/utf-8-encoded-html-pages-show-questions-marks-instead-of-characters

If you use Chrome, try this page and see if it helps:
http://productforums.google.com/forum/#!topic/chrome/EfrrDYQ1-_g



On Tue, Sep 24, 2013 at 3:57 AM, Haitao Zhang <[email protected]> wrote:

> 2.another question was when i fetch info from some china website, is also
> print messy code
>
>

Is the urlfetch itself corrupted or the printing into logs damaged? Make
sure you're encoding/decoding in UTF-8.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to