Skip to content

Commit

Permalink
* enc/trans/iso2022.trans: upcase to iso-2022-jp.
Browse files Browse the repository at this point in the history
* enc/emacs_mule.c: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Sep 7, 2008
1 parent 78350a0 commit 7de9b10
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Mon Sep 8 00:04:09 2008 Tanaka Akira <[email protected]>

* enc/trans/iso2022.trans: upcase to iso-2022-jp.

* enc/emacs_mule.c: ditto.

Sun Sep 7 23:46:36 2008 Tanaka Akira <[email protected]>

* enc/trans/iso2022.trans: stateless-iso-2022-jp is defined to avoid
Expand Down
2 changes: 1 addition & 1 deletion enc/emacs_mule.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,4 @@ OnigEncodingDefine(emacs_mule, Emacs_Mule) = {
0
};

ENC_REPLICATE("stateless-iso-2022-jp", "Emacs-Mule")
ENC_REPLICATE("stateless-ISO-2022-JP", "Emacs-Mule")
8 changes: 4 additions & 4 deletions enc/trans/iso2022.trans
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ fun_so_iso2022jp_decoder(void *statep, const unsigned char *s, size_t l, unsigne

static const rb_transcoder
rb_iso2022jp_decoder = {
"ISO-2022-JP", "stateless-iso-2022-jp", iso2022jp_decoder,
"ISO-2022-JP", "stateless-ISO-2022-JP", iso2022jp_decoder,
TRANSCODE_TABLE_INFO,
1, /* input_unit_length */
3, /* max_input */
Expand Down Expand Up @@ -191,7 +191,7 @@ finish_iso2022jp_encoder(void *statep, unsigned char *o)

static const rb_transcoder
rb_iso2022jp_encoder = {
"stateless-iso-2022-jp", "ISO-2022-JP", iso2022jp_encoder,
"stateless-ISO-2022-JP", "ISO-2022-JP", iso2022jp_encoder,
TRANSCODE_TABLE_INFO,
1, /* input_unit_length */
3, /* max_input */
Expand All @@ -213,7 +213,7 @@ fun_so_stateless_iso2022jp_to_eucjp(void *statep, const unsigned char *s, size_t

static const rb_transcoder
rb_stateless_iso2022jp_to_eucjp = {
"stateless-iso-2022-jp", "EUC-JP", stateless_iso2022jp_to_eucjp,
"stateless-ISO-2022-JP", "EUC-JP", stateless_iso2022jp_to_eucjp,
TRANSCODE_TABLE_INFO,
1, /* input_unit_length */
3, /* max_input */
Expand All @@ -234,7 +234,7 @@ fun_so_eucjp_to_stateless_iso2022jp(void *statep, const unsigned char *s, size_t

static const rb_transcoder
rb_eucjp_to_stateless_iso2022jp = {
"EUC-JP", "stateless-iso-2022-jp", eucjp_to_stateless_iso2022jp,
"EUC-JP", "stateless-ISO-2022-JP", eucjp_to_stateless_iso2022jp,
TRANSCODE_TABLE_INFO,
1, /* input_unit_length */
3, /* max_input */
Expand Down

0 comments on commit 7de9b10

Please sign in to comment.