From 1102fd2f3e1fba09d6f78e677cf7fe969b68bb96 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 8 Jun 2012 22:44:01 +0000 Subject: * remove trailing spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- encoding.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'encoding.c') diff --git a/encoding.c b/encoding.c index 41f217063b..a0c860625a 100644 --- a/encoding.c +++ b/encoding.c @@ -1792,15 +1792,15 @@ rb_enc_aliases(VALUE klass) * output to ISO-8859-1 encoding, then read back in and transcoded to UTF-8: * * string = "R\u00E9sum\u00E9" - * + * * open("transcoded.txt", "w:ISO-8859-1") do |io| * io.write(string) * end - * + * * puts "raw text:" * p File.binread("transcoded.txt") * puts - * + * * open("transcoded.txt", "r:ISO-8859-1:UTF-8") do |io| * puts "transcoded text:" * p io.read @@ -1809,14 +1809,14 @@ rb_enc_aliases(VALUE klass) * While writing the file, the internal encoding is not specified as it is * only necessary for reading. While reading the file both the internal and * external encoding must be specified to obtain the correct result. - * - * $ ruby t.rb + * + * $ ruby t.rb * raw text: * "R\xE9sum\xE9" * * transcoded text: * "R\u00E9sum\u00E9" - * + * */ void -- cgit v1.2.3