diff --git a/.htaccess b/.htaccess
index fd7bd29..4464d56 100644
--- a/.htaccess
+++ b/.htaccess
@@ -41,6 +41,16 @@ AddEncoding gzip svgz
   php_flag mbstring.encoding_translation    off
 </IfModule>
 
+# PHP 5.6 and up introduces default encoding settings. Set these to UTF-8
+# to comply with Drupal's Unicode requirements check.
+# See https://wiki.php.net/rfc/default_encoding.
+<IfModule mod_php7.c>
+  php_value default_charset "UTF-8"
+  php_value php.input_encoding "UTF-8"
+  php_value php.internal_encoding "UTF-8"
+  php_value php.output_encoding "UTF-8"
+</IfModule>
+
 # Requires mod_expires to be enabled.
 <IfModule mod_expires.c>
   # Enable expirations.
