aboutsummaryrefslogtreecommitdiffstats
path: root/enc/trans
diff options
context:
space:
mode:
Diffstat (limited to 'enc/trans')
-rw-r--r--enc/trans/japanese.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/trans/japanese.c b/enc/trans/japanese.c
index 3ac71882af..8b08f81f5d 100644
--- a/enc/trans/japanese.c
+++ b/enc/trans/japanese.c
@@ -23743,7 +23743,7 @@ from_iso_2022_jp_transcoder_preprocessor(char **in_pos, char **out_pos,
/* SHIFT */
rb_raise(rb_eRuntimeError /*change exception*/, "shift is not supported");
} else if (c1 >= 0x80) {
- rb_raise(rb_eRuntimeError /*change exception*/, "illegal byte sequence");
+ rb_raise(rb_eRuntimeError /*change exception*/, "invalid byte sequence");
} else {
switch (cur_mode) {
case ISO_2022_GZ_ASCII: