diff --git a/docs/installation/1-postgresql.md b/docs/installation/1-postgresql.md
index 583a4f3e9..546bfb7b4 100644
--- a/docs/installation/1-postgresql.md
+++ b/docs/installation/1-postgresql.md
@@ -54,7 +54,7 @@ Within the shell, enter the following commands to create the database and user (
```postgresql
CREATE DATABASE netbox;
CREATE USER netbox WITH PASSWORD 'J5brHrAXFLQSif0K';
-GRANT ALL PRIVILEGES ON DATABASE netbox TO netbox;
+ALTER DATABASE netbox OWNER TO netbox;
```
!!! danger "Use a strong password"
diff --git a/docs/release-notes/version-3.4.md b/docs/release-notes/version-3.4.md
index 47f590d59..c98e62b81 100644
--- a/docs/release-notes/version-3.4.md
+++ b/docs/release-notes/version-3.4.md
@@ -2,6 +2,14 @@
## v3.4.8 (FUTURE)
+### Enhancements
+
+* [#12095](https://github.com/netbox-community/netbox/issues/12095) - Specify UTF-8 encoding for default export template MIME type
+
+### Bug Fixes
+
+* [#12084](https://github.com/netbox-community/netbox/issues/12084) - Fix exception when attempting to create a saved filter for applied filters
+
---
## v3.4.7 (2023-03-28)
diff --git a/mkdocs.yml b/mkdocs.yml
index 2317dad6d..57ffaf461 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -8,6 +8,9 @@ theme:
custom_dir: docs/_theme/
icon:
repo: fontawesome/brands/github
+ features:
+ - content.code.copy
+ - navigation.footer
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
@@ -20,7 +23,8 @@ theme:
icon: material/lightbulb
name: Switch to Light Mode
plugins:
- - search
+ - search:
+ lang: en
- mkdocstrings:
handlers:
python:
diff --git a/netbox/extras/models/models.py b/netbox/extras/models/models.py
index bb22c9851..3cab6154d 100644
--- a/netbox/extras/models/models.py
+++ b/netbox/extras/models/models.py
@@ -301,7 +301,7 @@ class ExportTemplate(CloningMixin, ExportTemplatesMixin, WebhooksMixin, ChangeLo
max_length=50,
blank=True,
verbose_name='MIME type',
- help_text=_('Defaults to text/plain
')
+ help_text=_('Defaults to text/plain; charset=utf-8
')
)
file_extension = models.CharField(
max_length=15,
@@ -357,7 +357,7 @@ class ExportTemplate(CloningMixin, ExportTemplatesMixin, WebhooksMixin, ChangeLo
Render the template to an HTTP response, delivered as a named file attachment
"""
output = self.render(queryset)
- mime_type = 'text/plain' if not self.mime_type else self.mime_type
+ mime_type = 'text/plain; charset=utf-8' if not self.mime_type else self.mime_type
# Build the response
response = HttpResponse(output, content_type=mime_type)