一个偶然的机会找到一个命令行的编码转换利器 uniconv 2.1d3。
3 k5 @; Z1 e1 c% @$ J: q# H& r p可以进行各种编码的转换,先放在这里,也许以后有用。9 j6 n/ X' g1 D2 U9 q7 o+ r/ b5 c5 S
' O" S9 l. ^1 m1 j
- J2 J/ ~& x2 T E7 v% C用法说明% z; H9 @/ N+ t4 o$ @3 V, b
usage: uniconv [-debug] [-directASCII] [-subst <substitute-string>]' s) ~& E+ c5 f) ]2 y+ e
<input-encoding> <input-file> <output-encoding> <output-file>& m3 X7 u# Z0 C2 Y$ r
<property | transform>*
& H. B6 f9 u- B' M/ c" g6 EVersion 2.1d3, 11/18/98
7 q: D7 |% v8 u- k% c4 p# TCopyright (c) Basis Technology Corp. 1995-1998. All rights reserved.
2 s2 q$ z2 S9 }4 H6 V9 jType "uniconv -help" for more information.8 g9 T# R1 R" @! k
Type "uniconv -describe <encoding>" for more information about an encoding.
; z: ^! c: U; g0 h4 D! {0 e1 XEncodings: Arabic, ASCII, big-endian, Big5, BMP, ChineseAutoDetect,
+ t# ~1 i+ i2 c CNS-11643, CNS-11643-1986, cp1251, cp1252, cp437, cp850, cp932,
/ w- t- J0 ?0 }( Q EBCDIC, EBCDIK, EUC-J, EUC-KR, GB2312, Greek, Hebrew, HZ, 3 T0 n7 U. A0 m7 _1 M
ISO-2022-JP, ISO-2022-KR, ISOLatinCyrillic, JapaneseAutoDetect,
/ `' n9 F8 M- @* R Java, JIS_X0201, JIS_X_0208, KoreanAutoDetect, Latin1, Latin2, + [2 m6 o j. j1 n3 \2 |$ F
Latin3, Latin4, Latin5, Latin6, little-endian, Shift-JIS, Thai, / b) Z# J/ Y+ [+ V( a
UCS2, Unicode11:big-endian, Unicode11:BOM:big-endian,
+ y* t2 r( C3 R( L0 Z6 \! ~: y3 X# E Unicode11:BOM:Java, Unicode11:BOM:little-endian, , z; b2 ?/ q2 K2 o
Unicode11:BOM:UCS2, Unicode11:BOM:UTF7, Unicode11:BOM:UTF8,
$ c: V5 b, |& K9 H3 t2 j2 T% H Unicode11:Java, Unicode11:little-endian, Unicode11:UCS2, - p+ N2 |0 m, u D6 E
Unicode11:UTF7, Unicode11:UTF8, Unicode20:BOM:Java,
2 {6 ]- K" u" t# T Unicode20:BOM:UTF7, Unicode20:BOM:UTF8, Unicode20:little-endian,
( ^7 L: ~& ~5 Q& Z& X Unicode20:UCS2, UTF7, UTF8
# M4 n) \/ ~4 J8 C* TProperties: UppercaseLetter, LowercaseLetter, TitlecaseLetter, ModifierLetter,
! r% \ @) P; M' g7 [* @ OtherLetter, AnyLetter, NonSpacingMark, CombiningMark,
3 n, n( |8 m0 o. b DecimalNumber, OtherNumber, DashPunctuation, OpenPunctuation,
% L" Y" n% c0 V+ d ClosePunctuation, OtherPunctuation, MathSymbol, CurrencySymbol, ; N2 }( f4 B9 p) L
OtherSymbol, SpaceSeparator, LineSeparator, ParagraphSeparator,
' z5 i+ p( Y: H, J3 j% \ ControlCharacter, OtherCharacter, UndefinedScript, GeneralScript, % x! j- P/ v" k* v" z, S
Latin, Greek, Cyrillic, Armenian, Hebrew, Arabic, Devanagari, * h, P, i' V/ H$ e
Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada, 3 h6 t" L, Y q2 ~* [
Malayalam, Thai, Lao, Tibetan, Georgian, HangulJamo, Hiragana, ( b6 y5 O( j1 c. J, A6 w7 W
Katakana, Kana, Bopomofo, CJKUnifiedIdeographs, Hangul, 6 a+ r3 z# u6 \' ^( J
UndefinedWidth, Fullwidth, Halfwidth
9 @. }( {9 W: i5 b9 FTransforms: ToLowercase, ToUppercase, ToFullwidth, ToHalfwidth, ToHiragana,
6 V- y9 v; i R9 d ToKatakana, Decompose, Compose, ToCombiningMark, ToSpacingMark,
, _9 |! P% T3 z2 L: _ P Select, Filter, ToCRLF, ToCR, ToLF, ToParagraphSeparator,
) Z; y6 i6 k7 z" Y$ ] ToLineSeparator, ToCanonical, ToTraditionalChinese, & A/ \ t0 i3 f- J1 O
ToSimplifiedChinese, RomajiToHiragana, RomajiToKatakana, 0 b/ d* W- ~6 p% I: R" I2 {0 y
KanaToRomaji, KanaToKunreiRomaji, KanaToHebonRomaji,
/ b( m/ v/ e" X1 V2 S# K ToLatinNumber, FromSGMLEntity |