diff --git a/doc/re.rb b/doc/re.rb
index 6eabbb5c5a..9671a7bd0b 100644
--- a/doc/re.rb
+++ b/doc/re.rb
@@ -1,4 +1,4 @@
-module Doc
+# -*- coding: utf-8 -*-
# Regular expressions (regexps) are patterns which describe the
# contents of a string. They're used for testing whether a string contains a
# given pattern, or extracting the portions that match. They are created
@@ -580,5 +580,4 @@ module Doc
# #=> #
#
#
- class Regexp; end
-end
+class Regexp; end