determing server response encoding

Posted by user121196 on Stack Overflow See other posts from Stack Overflow or by user121196
Published on 2010-04-20T05:16:16Z Indexed on 2010/04/20 5:23 UTC
Read the original article Hit count: 289

Filed under:
|
|

not java specific, but when I say OutputStream os = sock.getOutputStream(); is there a way to determine stream's encoding charset? or do I have to know encoding charset ahead of time to properly read it? This is for arbitrary socket connection.

© Stack Overflow or respective owner

Related posts about socket

Related posts about encoding