summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--transcode_data_japanese.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c5106fced3..53aca09d10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Dec 24 23:32:24 2007 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * transcode_data_japanese.c (select_iso_2022_mode): '\e' is not valid.
+
Mon Dec 24 23:13:09 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/rdoc/diagram.rb (RDoc::Diagram#initialize): use fileuitls
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: