diff --git a/inc/html.php b/inc/html.php
index 37fad428ae7a3bb68e6d8938bb7a6b98451e3eaa..072d364157206f8d919d437dff40ca35e03a4ae0 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1075,6 +1075,7 @@ function html_signature(){
  */
 function html_debug(){
   global $conf;
+  global $lang;
 
   print '<html><body>';
 
@@ -1106,6 +1107,10 @@ function html_debug(){
   print setlocale(LC_ALL,0);
   print '</pre>';
 
+  print '<b>encoding:</b><pre>';
+  print $lang['encoding'];
+  print '</pre>';
+
   print '<b>Environment:</b><pre>';
   print_r($_ENV);
   print '</pre>';