diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md
index d4a49b3f37..f30a145821 100644
--- a/docs/pages/release_notes.md
+++ b/docs/pages/release_notes.md
@@ -46,6 +46,7 @@ The remaining section describes the complete release notes for 7.0.0.
**New Rules**
* {% rule java/codestyle/UseExplicitTypes %} reports usages of `var` keyword, which was introduced with Java 10.
+* {% rule xml/bestpractices/MissingEncoding %} finds XML files without explicit encoding.
#### Fixed issues
@@ -55,6 +56,8 @@ The remaining section describes the complete release notes for 7.0.0.
* java-codestyle
* [#2847](https://github.com/pmd/pmd/issues/2847): \[java] New Rule: Use Explicit Types
* [#4578](https://github.com/pmd/pmd/issues/4578): \[java] CommentDefaultAccessModifier comment needs to be before annotation if present
+* xml-bestpractices
+ * [#4592](https://github.com/pmd/pmd/pull/4592): \[xml] Add MissingEncoding rule
#### API Changes
@@ -240,6 +243,9 @@ can be parsed now. PMD should now be able to parse Apex code up to version 59.0
* {% rule swift/errorprone/ForceCast %}
* {% rule swift/errorprone/ForceTry %}
+**XML**
+* {% rule xml/bestpractices/MissingEncoding %} finds XML files without explicit encoding.
+
#### Changed Rules
**General changes**
@@ -649,6 +655,8 @@ Language specific fixes:
* [#1882](https://github.com/pmd/pmd/pull/1882): \[swift] UnavailableFunction Swift rule
* xml
* [#1800](https://github.com/pmd/pmd/pull/1800): \[xml] Unimplement org.w3c.dom.Node from the XmlNodeWrapper
+* xml-bestpractices
+ * [#4592](https://github.com/pmd/pmd/pull/4592): \[xml] Add MissingEncoding rule
### ✨ External Contributions
diff --git a/docs/pages/release_notes_pmd7.md b/docs/pages/release_notes_pmd7.md
index 443392bfc0..2de83e1776 100644
--- a/docs/pages/release_notes_pmd7.md
+++ b/docs/pages/release_notes_pmd7.md
@@ -297,6 +297,9 @@ can be parsed now. PMD should now be able to parse Apex code up to version 59.0
* {% rule swift/errorprone/ForceCast %}
* {% rule swift/errorprone/ForceTry %}
+**XML**
+* {% rule xml/bestpractices/MissingEncoding %} finds XML files without explicit encoding.
+
### Changed Rules
**General changes**
diff --git a/pmd-core/src/main/resources/rulesets/releases/700.xml b/pmd-core/src/main/resources/rulesets/releases/700.xml
index d0d3022883..6b3eaf09c5 100644
--- a/pmd-core/src/main/resources/rulesets/releases/700.xml
+++ b/pmd-core/src/main/resources/rulesets/releases/700.xml
@@ -21,5 +21,6 @@ This ruleset contains links to rules that are new in PMD v7.0.0
+