if (!PL_strcasecmp(charset, "iso-2022-jp") || !PL_strcasecmp(charset, "iso-2022-kr") || !PL_strcasecmp(charset, "hz-gb-2312") || !PL_strcasecmp(charset, "shift_jis") || !PL_strcasecmp(charset, "euc-jp") || !PL_strcasecmp(charset, "big5") || !PL_strcasecmp(charset, "gb2312") || !PL_strcasecmp(charset, "euc-kr") || !PL_strcasecmp(charset, "utf-7") || !PL_strcasecmp(charset, "utf-8")) {
if (!nsCRT::strcasecmp(charset, "iso-2022-jp") || !nsCRT::strcasecmp(charset, "iso-2022-kr") || !nsCRT::strcasecmp(charset, "hz-gb-2312") || !nsCRT::strcasecmp(charset, "shift_jis") || !nsCRT::strcasecmp(charset, "euc-jp") || !nsCRT::strcasecmp(charset, "big5") || !nsCRT::strcasecmp(charset, "gb2312") || !nsCRT::strcasecmp(charset, "euc-kr") || !nsCRT::strcasecmp(charset, "utf-7") || !nsCRT::strcasecmp(charset, "utf-8")) {
static const char * intl_message_header_encoding(const char* charset){  //TODO: make this overridable.  if (!PL_strcasecmp(charset, "iso-2022-jp") ||       !PL_strcasecmp(charset, "iso-2022-kr") ||      !PL_strcasecmp(charset, "hz-gb-2312") ||      !PL_strcasecmp(charset, "shift_jis") ||      !PL_strcasecmp(charset, "euc-jp") ||      !PL_strcasecmp(charset, "big5") ||      !PL_strcasecmp(charset, "gb2312") ||      !PL_strcasecmp(charset, "euc-kr") ||      !PL_strcasecmp(charset, "utf-7") ||      !PL_strcasecmp(charset, "utf-8")) {    return kMsgHeaderBEncoding;  }  return kMsgHeaderQEncoding;}