diff --git a/doc/encodings.rdoc b/doc/encodings.rdoc
index eaee2efd62..bd87c38e9e 100644
--- a/doc/encodings.rdoc
+++ b/doc/encodings.rdoc
@@ -437,7 +437,7 @@ These keyword-value pairs specify encoding options:
- :xml: nil (default): No handling for XML entities.
- :xml: :text: Treat source text as XML;
replace each undefined character
- with its upper-case hexdecimal numeric character reference,
+ with its upper-case hexadecimal numeric character reference,
except that:
- & is replaced with &.
@@ -446,7 +446,7 @@ These keyword-value pairs specify encoding options:
- :xml: :attr: Treat source text as XML attribute value;
replace each undefined character
- with its upper-case hexdecimal numeric character reference,
+ with its upper-case hexadecimal numeric character reference,
except that:
- The replacement string r is double-quoted ("r").