summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-08 22:44:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-08 22:44:01 +0000
commit1102fd2f3e1fba09d6f78e677cf7fe969b68bb96 (patch)
treee8f5e6353d497deeb9f08b5132f5f1377ec619be /encoding.c
parent7b5fb62beef1027d8f7d232ba330611a1301bdc8 (diff)
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c12
1 files changed, 6 insertions, 6 deletions
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