From 3913db4506802d3798d7e974ff49f1415a92b67d Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 26 Sep 2009 20:17:52 +0000 Subject: String#inspect's encoding should be fixed. * string.c (rb_str_inspect): result's encoding should be fixed. If default_internal is not nil, the encoding is default_internal. Else if default_external is not nil, the encoding is default_external. But the encoding is not ASCII-compatible, the encoding is replaced by US-ASCII. Characters in ASCII-incompatible encoding or non ASCII characters in other than the encoding will be \xXX escaped. * string.c (str_buf_cat2): defined. * string.c (prefix_escape): removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 429492c0f..2b4b24850 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +Sun Sep 27 04:20:55 2009 NARUSE, Yui + + * string.c (rb_str_inspect): result's encoding should be fixed. + If default_internal is not nil, the encoding is default_internal. + Else if default_external is not nil, the encoding is default_external. + But the encoding is not ASCII-compatible, the encoding is replaced by + US-ASCII. + Characters in ASCII-incompatible encoding or non ASCII characters + in other than the encoding will be \xXX escaped. + + * string.c (str_buf_cat2): defined. + + * string.c (prefix_escape): removed. + Sun Sep 27 05:37:45 2009 Alexander Zavorine * symbian/missing-pips.c: Updated to work with the latest PIPS 1.6. -- cgit