/** * デフォルトエンコーディング調査ユーティリティ * Copyright (C) 2000 Midori IGA * (http://www01.u-page.so-net.ne.jp/db3/midori/midosoft.html) * * SUN JDK 1.1.8-004 Windows版 * ByteToCharConverter: MS932 * CharToByteConverter: MS932 * * SUN JDK 1.1.6 Windows版 * ByteToCharConverter: SJIS * CharToByteConverter: SJIS */ import sun.io.*; public class MdDefaultCnv { public static void main(String[] args) { System.out.println(ByteToCharConverter.getDefault()); System.out.println(CharToByteConverter.getDefault()); } }