Sathish Kumar
Sathish Kumar

Reputation: 331

charset="8Bit" can be interpreted as us-ascii?

I am using javamail and trying to process emails that has Content-Type: text/html; charset="8Bit" can i assume this as us-ascii or is there a better equivalent?

Upvotes: 0

Views: 217

Answers (1)

MichaEL
MichaEL

Reputation: 94

US-ASCII is the lowest common denominator of all character sets and it is a seven bit character set. "8Bit" is no character set! The used character encoding should be specified i.e. iso-8859-1 or utf-8. Please see: https://www.w3schools.com/html/html_charset.asp

Upvotes: 1

Related Questions