Which is correct? UTF8 or UTF-8
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mark_Minasazi
Posted On:   Friday, August 1, 2003 04:12 AM

Which one of these is right? Note the UTF part

BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream(),"UTF-8") );


or


BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream(),"UTF8") );


Thanks

Re: Which is correct? UTF8 or UTF-8

Posted By:   eimi_nos  
Posted On:   Saturday, August 2, 2003 03:48 AM

It is not incorrect not correct, but the canonical name for java.io and java.lang API is "UTF8."

supported encoding
About | Sitemap | Contact