Skip to content

Commit

Permalink
Update transcoding tables from MRI r48316.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Nov 7, 2014
1 parent 97c69ee commit 3c9bf52
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
Binary file modified resources/tables/Transcoder_Korean_ByteArray.bin
Binary file not shown.
Binary file modified resources/tables/Transcoder_Korean_WordArray.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions src/org/jcodings/EncodingList.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ final class EncodingList {
{"R", "UTF8-MAC", "UTF-8"},
{"A", "UTF-8-MAC", "UTF8-MAC"},
{"A", "UTF-8-HFS", "UTF8-MAC" /* Emacs 23.2 */},
{"R", "UTF-16", "UTF-16BE"},
{"R", "UTF-32", "UTF-32BE"},
{"D", "UTF-16"},
{"D", "UTF-32"},
{"A", "UCS-2BE", "UTF-16BE"},
{"A", "UCS-4BE", "UTF-32BE"},
{"A", "UCS-4LE", "UTF-32LE"},
Expand Down
14 changes: 4 additions & 10 deletions src/org/jcodings/transcode/TranscoderList.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ final class TranscoderList {
{"EUC-KR", "UTF-8", null /*From_EUC_KR*/},
{"UTF-8", "CP949", null /*To_CP949*/},
{"CP949", "UTF-8", null /*From_CP949*/},
{"", "universal_newline", "Universal_newline"},
{"", "crlf_newline", null /*Crlf_newline*/},
{"", "cr_newline", null /*Cr_newline*/},
{"US-ASCII", "UTF-8", null /*From_US_ASCII*/},
{"UTF-8", "US-ASCII", null /*To_US_ASCII*/},
{"ASCII-8BIT", "UTF-8", null /*From_ASCII_8BIT*/},
Expand Down Expand Up @@ -285,13 +282,10 @@ final class TranscoderList {
new GenericTranscoderEntry("Windows-31J", "UTF-8", 40648, "JapaneseSjis", 1, 2, 1, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("UTF-8", "Shift_JIS", 75704, "JapaneseSjis", 1, 4, 2, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("UTF-8", "Windows-31J", 104500, "JapaneseSjis", 1, 4, 2, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("UTF-8", "EUC-KR", 44104, "Korean", 1, 4, 2, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("EUC-KR", "UTF-8", 78484, "Korean", 1, 2, 1, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("UTF-8", "CP949", 126392, "Korean", 1, 4, 2, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("CP949", "UTF-8", 196860, "Korean", 1, 2, 1, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("", "universal_newline", 4, "Newline", 1, 1, 2, AsciiCompatibility.CONVERTER, 2),
new GenericTranscoderEntry("", "crlf_newline", 20, "Newline", 1, 1, 2, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("", "cr_newline", 36, "Newline", 1, 1, 1, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("UTF-8", "EUC-KR", 44112, "Korean", 1, 4, 2, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("EUC-KR", "UTF-8", 78500, "Korean", 1, 2, 1, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("UTF-8", "CP949", 126176, "Korean", 1, 4, 2, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("CP949", "UTF-8", 196644, "Korean", 1, 2, 1, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("US-ASCII", "UTF-8", 8, "SingleByte", 1, 1, 1, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("UTF-8", "US-ASCII", 132, "SingleByte", 1, 4, 1, AsciiCompatibility.CONVERTER, 0),
new GenericTranscoderEntry("ASCII-8BIT", "UTF-8", 148, "SingleByte", 1, 1, 1, AsciiCompatibility.CONVERTER, 0),
Expand Down

0 comments on commit 3c9bf52

Please sign in to comment.