summaryrefslogtreecommitdiff
path: root/transcode_data_japanese.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 14:34:51 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 14:34:51 +0000
commit0f064d27b3ab4e4bee96c19313c6fe1480972f24 (patch)
treec59ca6badbc550786c28c8757917a30337037a1f /transcode_data_japanese.c
parent0c395fbd904ccc5cb100e6654af7c771f1123e41 (diff)
* transcode_data_japanese.c (select_iso_2022_mode): '\e' is not valid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode_data_japanese.c')
-rw-r--r--transcode_data_japanese.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transcode_data_japanese.c b/transcode_data_japanese.c
index 223d1586e3..860b824221 100644
--- a/transcode_data_japanese.c
+++ b/transcode_data_japanese.c
@@ -23754,7 +23754,7 @@ static int
select_iso_2022_mode(char **out_pos, int new_mode)
{
char *out_p = *out_pos;
- *out_p++ = '\e';
+ *out_p++ = '\x1b';
switch (new_mode>>8)
{
case ISO_2022_GZD4: