ANSI-->UnicodeANSI-->UnicodebigendianANSI-->UTF-8Unicode-->ANSIUnicode-->UTF-8UTF-8-->ANSIUTF-8-->UnicodeUTF-8-->Unicodebigendianansi转别的,不检验BOM,一律作为ansi编码进行转换unicode转别的,首先检验BOM,不合格不转换utf8转别的,首先检验BOM,不合格不转换