publicstaticvoid main(String[] args) throws Exception { if (!winStr.equals(new String(winStr.getBytes("MS932"), "MS932_0213"))) thrownew RuntimeException("MS932_0213 failed on special codepoints!");
if (!(Arrays.equals(compStr.getBytes("MS932_0213"), compBytes)) ||
!compStr.equals(new String(compBytes, "MS932_0213"))) thrownew RuntimeException("MS932_0213 failed on composites!");
if (!(Arrays.equals(mixedStr.getBytes("MS932_0213"), mixedBytes)) ||
!mixedStr.equals(new String(mixedBytes, "MS932_0213"))) thrownew RuntimeException("MS932_0213 failed on mixed!");
if (!sjisStr.equals(new String(sjisStr.getBytes("SJIS"), "SJIS_0213"))) thrownew RuntimeException("SJIS_0213 failed on special codepoints!");
if (!(Arrays.equals(compStr.getBytes("SJIS_0213"), compBytes)) ||
!compStr.equals(new String(compBytes, "SJIS_0213"))) thrownew RuntimeException("SJIS_0213 failed on composites!");
if (!(Arrays.equals(mixedStr.getBytes("SJIS_0213"), mixedBytes)) ||
!mixedStr.equals(new String(mixedBytes, "SJIS_0213"))) thrownew RuntimeException("SJIS_0213 failed on mixed!");
if (!(Arrays.equals(mixedCompStr.getBytes("SJIS_0213"), mixedCompBytes)) ||
!mixedCompStr.equals(new String(mixedCompBytes, "SJIS_0213"))) thrownew RuntimeException("SJIS_0213 failed on mixedComp!");
if (!Arrays.equals(new String(unmappableChars).getBytes("SJIS_0213"), unmappableBytes) ||
!Arrays.equals(new String(unmappableChars).getBytes("MS932_0213"), unmappableBytes)) thrownew RuntimeException("SJIS/MS932_0213 failed on unmappable encoding!");
}
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.9Bemerkung:
(vorverarbeitet am 2026-09-30)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.