texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Add latin1 encoded tex_html test, rename a test f


From: Patrice Dumas
Subject: branch master updated: Add latin1 encoded tex_html test, rename a test file
Date: Fri, 04 Mar 2022 17:38:25 -0500

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 30a8ce4d1b Add latin1 encoded tex_html test, rename a test file
30a8ce4d1b is described below

commit 30a8ce4d1bc7ade2708d2db0b81434a5eb1c46a2
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Mar 4 23:37:45 2022 +0100

    Add latin1 encoded tex_html test, rename a test file
---
 tp/TODO                                            | 15 +++++++++++++
 .../tex_l2h_output_dir_non_ascii.sh                |  4 ++--
 .../tex_encod\303\251_utf8-l2h_cache.pm"           |  6 ++---
 .../encod\303\251/tex_encod\303\251_utf8.html"     |  6 ++---
 .../encod\303\251/tex_encod\303\251_utf8_l2h.html" | 26 +++++++++++-----------
 .../encod\303\251/tex_encod\303\251_utf8_l2h.tex"  | 12 +++++-----
 .../tex_encod\303\251_utf8_l2h_images.tex"         |  0
 .../tex_encod\303\251_utf8_l2h_labels.pl"          |  0
 .../tex_t4ht_output_dir_non_ascii.sh               |  4 ++--
 .../tex_encod\303\251_tex4ht_tex.tex"              | 16 -------------
 .../tex_encod\303\251_tex4ht_tex.xref"             |  1 -
 .../encod\303\251/tex_encod\303\251_utf8.html"     |  6 ++---
 .../tex_encod\303\251_utf8_tex4ht_tex.4ct"         |  0
 .../tex_encod\303\251_utf8_tex4ht_tex.4tc"         |  0
 .../tex_encod\303\251_utf8_tex4ht_tex.css"         |  0
 .../tex_encod\303\251_utf8_tex4ht_tex.lg"          | 10 ++++-----
 .../tex_encod\303\251_utf8_tex4ht_tex.tex"         | 16 +++++++++++++
 .../tex_encod\303\251_utf8_tex4ht_tex.tmp"         |  0
 .../tex_encod\303\251_utf8_tex4ht_tex.xref"        |  1 +
 ...tex.sh => tex_html_tex_encoded_latin1_httex.sh} |  2 +-
 ...d_l2h.sh => tex_html_tex_encoded_latin1_l2h.sh} |  2 +-
 ...httex.sh => tex_html_tex_encoded_utf8_httex.sh} |  2 +-
 ...d_httex.sh => tex_html_tex_encoded_utf8_l2h.sh} |  2 +-
 tp/tests/tex_html/Makefile.am                      |  3 ++-
 tp/tests/tex_html/list-of-tests                    |  6 +++--
 .../tex_encod\303\251_tex4ht_tex.tex"              | 16 -------------
 .../tex_encod\303\251_tex4ht_tex.xref"             |  1 -
 .../tex_encode_latin1.html                         |  9 ++++----
 .../tex_encode_latin1_tex4ht_tex.4ct               |  0
 .../tex_encode_latin1_tex4ht_tex.4tc               |  0
 .../tex_encode_latin1_tex4ht_tex.css               |  0
 .../tex_encode_latin1_tex4ht_tex.html              | 22 +++++++++---------
 .../tex_encode_latin1_tex4ht_tex.lg                | 10 ++++-----
 .../tex_encode_latin1_tex4ht_tex.tex               | 16 +++++++++++++
 .../tex_encode_latin1_tex4ht_tex.tmp               |  0
 .../tex_encode_latin1_tex4ht_tex.xref              |  1 +
 .../tex_encode_latin1-l2h_cache.pm                 |  6 ++---
 .../tex_encoded_latin1_l2h/tex_encode_latin1.2     |  0
 .../tex_encoded_latin1_l2h/tex_encode_latin1.html  | 21 ++++++++---------
 .../tex_encode_latin1_l2h.html                     | 26 +++++++++++-----------
 .../tex_encode_latin1_l2h.tex                      | 12 +++++-----
 .../tex_encode_latin1_l2h_images.tex               |  0
 .../tex_encode_latin1_l2h_labels.pl                |  0
 .../tex_encod\303\251_utf8.html"                   |  6 ++---
 .../tex_encod\303\251_utf8_tex4ht_tex.4ct"         |  0
 .../tex_encod\303\251_utf8_tex4ht_tex.4tc"         |  0
 .../tex_encod\303\251_utf8_tex4ht_tex.css"         |  0
 .../tex_encod\303\251_utf8_tex4ht_tex.html"        | 22 +++++++++---------
 .../tex_encod\303\251_utf8_tex4ht_tex.lg"          | 10 ++++-----
 .../tex_encod\303\251_utf8_tex4ht_tex.tex"         | 16 +++++++++++++
 .../tex_encod\303\251_utf8_tex4ht_tex.tmp"         |  0
 .../tex_encod\303\251_utf8_tex4ht_tex.xref"        |  1 +
 .../tex_encod\303\251_utf8-l2h_cache.pm"           |  6 ++---
 .../tex_encoded_utf8_l2h/tex_encod\303\251_utf8.2" |  0
 .../tex_encod\303\251_utf8.html"                   |  6 ++---
 .../tex_encod\303\251_utf8_l2h.html"               | 26 +++++++++++-----------
 .../tex_encod\303\251_utf8_l2h.tex"                | 12 +++++-----
 .../tex_encod\303\251_utf8_l2h_images.tex"         |  0
 .../tex_encod\303\251_utf8_l2h_labels.pl"          |  0
 tp/tests/tex_html/tex_encode_latin1.texi           | 22 ++++++++++++++++++
 .../tests/tex_html/tex_encod\303\251_utf8.texi"    |  0
 61 files changed, 233 insertions(+), 174 deletions(-)

diff --git a/tp/TODO b/tp/TODO
index eeb7acac4e..69bfe26085 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -73,6 +73,21 @@ tests/other manual_include_accented_file_name_latin1
 ./texi2any.pl --force -I tests/ 
tests/other/manual_include_accented_file_name_latin1.texi
 
 
+rename with utf8
+#./texi2any.pl tests/tex_html/tex_encodé.texi
+
+Not ok:
+./texi2any.pl --html --init init/latex2html.pm tests/tex_html/tex_encod??.texi
+ -> the input file name is decoded using DATA_INPUT_ENCODING_NAME
+    which is set to ISO-8859-1, although the file name is in utf8.
+./texi2any.pl -c 'DATA_INPUT_ENCODING_NAME utf-8' --html --init 
init/latex2html.pm tests/tex_html/tex_encod??.texi
+Errors out with
+# l2h: use tex_encodé_html/tex_encodé_l2h.html as html file
+utf8 "\xE9" does not map to Unicode at ./init/latex2html.pm line 515, 
<L2H_HTML> line 6.
+which corresponds to <TITLE>tex_encodé_l2h</TITLE>, with the é encoded in 
latin1.
+Probably latex2html outputs the latin1 file names as it gets from the command
+line.
+
 additional tests TODO
 + need to have file names/file content encoded in the non utf8 locale
 + the test needs also to be checked in non utf8 locale
diff --git a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii.sh 
b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii.sh
index 60e3d652bf..f8cba01982 100755
--- a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii.sh
+++ b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii.sh
@@ -54,8 +54,8 @@ raw_outdir=$raw_output_dir/$basename
 [ -d $raw_outdir ] && rm -rf $raw_outdir
 mkdir $basename
 : > $basename/$stdout_file
-echo "$PERL -I $srcdir/../.. -I 
$srcdir/../../maintain/lib/Unicode-EastAsianWidth/lib/ -I 
$srcdir/../../maintain/lib/libintl-perl/lib -I 
$srcdir/../../maintain/lib/Text-Unidecode/lib/ -w $srcdir/../../texi2any.pl 
--set-customization-variable 'TEXI2HTML 1' --set-customization-variable 'TEST 
1' --set-customization-variable L2H_TMP=$tmp_dir --conf-dir $srcdir/../../init 
--set-customization-variable 'HTML_MATH l2h' --set-customization-variable 
L2H_FILE=$srcdir/../../t/init/l2h.init  --set-cu [...]
-$PERL -I $srcdir/../.. -I 
$srcdir/../../maintain/lib/Unicode-EastAsianWidth/lib/ -I 
$srcdir/../../maintain/lib/libintl-perl/lib -I 
$srcdir/../../maintain/lib/Text-Unidecode/lib/ -w $srcdir/../../texi2any.pl 
--set-customization-variable 'TEXI2HTML 1' --set-customization-variable 'TEST 
1' --set-customization-variable L2H_TMP=$tmp_dir --conf-dir $srcdir/../../init 
--set-customization-variable 'HTML_MATH l2h' --set-customization-variable 
L2H_FILE=$srcdir/../../t/init/l2h.init  --set-customiz [...]
+echo "$PERL -I $srcdir/../.. -I 
$srcdir/../../maintain/lib/Unicode-EastAsianWidth/lib/ -I 
$srcdir/../../maintain/lib/libintl-perl/lib -I 
$srcdir/../../maintain/lib/Text-Unidecode/lib/ -w $srcdir/../../texi2any.pl 
--set-customization-variable 'TEXI2HTML 1' --set-customization-variable 'TEST 
1' --set-customization-variable L2H_TMP=$tmp_dir --conf-dir $srcdir/../../init 
--set-customization-variable 'HTML_MATH l2h' --set-customization-variable 
L2H_FILE=$srcdir/../../t/init/l2h.init  --set-cu [...]
+$PERL -I $srcdir/../.. -I 
$srcdir/../../maintain/lib/Unicode-EastAsianWidth/lib/ -I 
$srcdir/../../maintain/lib/libintl-perl/lib -I 
$srcdir/../../maintain/lib/Text-Unidecode/lib/ -w $srcdir/../../texi2any.pl 
--set-customization-variable 'TEXI2HTML 1' --set-customization-variable 'TEST 
1' --set-customization-variable L2H_TMP=$tmp_dir --conf-dir $srcdir/../../init 
--set-customization-variable 'HTML_MATH l2h' --set-customization-variable 
L2H_FILE=$srcdir/../../t/init/l2h.init  --set-customiz [...]
 
 return_code=0
 ret=$?
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251-l2h_cache.pm"
 
"b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8-l2h_cache.pm"
similarity index 95%
copy from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251-l2h_cache.pm"
copy to 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8-l2h_cache.pm"
index 47a14fc616..13ddb57acd 100644
--- 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251-l2h_cache.pm"
+++ 
"b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8-l2h_cache.pm"
@@ -12,7 +12,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_encodé_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_encodé_utf8_1.svg"
  ALT="$\displaystyle é \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -28,7 +28,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_encodé_3.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_encodé_utf8_3.svg"
  ALT="$\displaystyle é ï î \int v(t)\, dt = u(t) + C
 $">
 </DIV>
@@ -39,7 +39,7 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $(I-D) é \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_encodé_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_encodé_utf8_2.svg"
  ALT="$(I-D) é \varphi(t)$"></SPAN>|;
 
 1;
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251.html" 
"b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8.html"
similarity index 99%
copy from "tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251.html"
copy to 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8.html"
index e82ff19219..0a09baac1e 100644
--- "a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251.html"
+++ 
"b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8.html"
@@ -60,7 +60,7 @@ span.program-in-footer {font-size: smaller}
  -->
 
 <IMG
- STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_encodé_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_encodé_utf8_1.svg"
  ALT="$\displaystyle é \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -70,7 +70,7 @@ $">
  $(I-D) é \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_encodé_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_encodé_utf8_2.svg"
  ALT="$(I-D) é \varphi(t)$"></SPAN> math.
 </p>
 <DIV CLASS="displaymath">
@@ -81,7 +81,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_encodé_3.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_encodé_utf8_3.svg"
  ALT="$\displaystyle é ï î \int v(t)\, dt = u(t) + C
 $">
 </DIV>
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.html"
 
"b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_l2h.html"
similarity index 67%
copy from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.html"
copy to 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_l2h.html"
index 8ffcbdd98f..a9ecc49af6 100644
--- 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.html"
+++ 
"b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_l2h.html"
@@ -3,9 +3,9 @@
 <!--Converted with LaTeX2HTML
 <HTML lang="en">
 <HEAD>
-<TITLE>tex_encodé_l2h</TITLE>
-<META NAME="description" CONTENT="tex_encodé_l2h">
-<META NAME="keywords" CONTENT="tex_encodé_l2h">
+<TITLE>tex_encodé_utf8_l2h</TITLE>
+<META NAME="description" CONTENT="tex_encodé_utf8_l2h">
+<META NAME="keywords" CONTENT="tex_encodé_utf8_l2h">
 <META NAME="resource-type" CONTENT="document">
 <META NAME="distribution" CONTENT="global">
 
@@ -13,13 +13,13 @@
 <META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0">
 <META NAME="Generator" CONTENT="LaTeX2HTML">
 
-<LINK REL="STYLESHEET" HREF="tex_encodé_l2h.css">
+<LINK REL="STYLESHEET" HREF="tex_encodé_utf8_l2h.css">
 
 </HEAD>
 
 <BODY >
 
-<!-- l2h_begin tex_encodé_l2h 1 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 1 -->
 <DIV CLASS="displaymath">
 <!-- MATH
  \begin{displaymath}
@@ -28,25 +28,25 @@
  -->
 
 <IMG
- STYLE="height: 2.86ex; vertical-align: -0.78ex; " 
SRC="tex_encodé_l2h_img1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " 
SRC="tex_encodé_utf8_l2h_img1.svg"
  ALT="$\displaystyle é \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
 
 
-<!-- l2h_end tex_encodé_l2h 1 -->
+<!-- l2h_end tex_encodé_utf8_l2h 1 -->
 
-<!-- l2h_begin tex_encodé_l2h 2 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 2 -->
 <!-- MATH
  $(I-D) é \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_encodé_l2h_img2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_encodé_utf8_l2h_img2.svg"
  ALT="$(I-D) é \varphi(t)$"></SPAN>
 
-<!-- l2h_end tex_encodé_l2h 2 -->
+<!-- l2h_end tex_encodé_utf8_l2h 2 -->
 
-<!-- l2h_begin tex_encodé_l2h 3 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 3 -->
 <DIV CLASS="displaymath">
 <!-- MATH
  \begin{displaymath}
@@ -55,13 +55,13 @@ $">
  -->
 
 <IMG
- STYLE="height: 5.61ex; vertical-align: -2.12ex; " 
SRC="tex_encodé_l2h_img3.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " 
SRC="tex_encodé_utf8_l2h_img3.svg"
  ALT="$\displaystyle é ï î \int v(t)\, dt = u(t) + C
 $">
 </DIV>
 
 
-<!-- l2h_end tex_encodé_l2h 3 -->
+<!-- l2h_end tex_encodé_utf8_l2h 3 -->
 <BR>
 <HR>
 </BODY>
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.tex"
 
"b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_l2h.tex"
similarity index 65%
copy from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.tex"
copy to 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_l2h.tex"
index f2079f8fa0..62abee15c8 100644
--- 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.tex"
+++ 
"b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_l2h.tex"
@@ -5,32 +5,32 @@
 \begin{document}
 \begin{rawhtml}
 
-<!-- l2h_begin tex_encodé_l2h 1 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 1 -->
 \end{rawhtml}
 $$
 é \partial_{\eta} g(\eta(t),\varphi(t));
 $$
 \begin{rawhtml}
-<!-- l2h_end tex_encodé_l2h 1 -->
+<!-- l2h_end tex_encodé_utf8_l2h 1 -->
 
 \end{rawhtml}
 \begin{rawhtml}
 
-<!-- l2h_begin tex_encodé_l2h 2 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 2 -->
 \end{rawhtml}
 $(I-D) é \varphi(t)$
 \begin{rawhtml}
-<!-- l2h_end tex_encodé_l2h 2 -->
+<!-- l2h_end tex_encodé_utf8_l2h 2 -->
 
 \end{rawhtml}
 \begin{rawhtml}
 
-<!-- l2h_begin tex_encodé_l2h 3 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 3 -->
 \end{rawhtml}
 $$ é ï î  \int v(t)\, dt = u(t) + C
 $$
 \begin{rawhtml}
-<!-- l2h_end tex_encodé_l2h 3 -->
+<!-- l2h_end tex_encodé_utf8_l2h 3 -->
 
 \end{rawhtml}
 \end{document}
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h_images.tex"
 
"b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_l2h_images.tex"
similarity index 100%
copy from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h_images.tex"
copy to 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_l2h_images.tex"
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h_labels.pl"
 
"b/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_l2h_labels.pl"
similarity index 100%
copy from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h_labels.pl"
copy to 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_l2h_labels.pl"
diff --git a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii.sh 
b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii.sh
index c420618fc7..44649e109c 100755
--- a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii.sh
+++ b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii.sh
@@ -36,8 +36,8 @@ raw_outdir=$raw_output_dir/$basename
 [ -d $raw_outdir ] && rm -rf $raw_outdir
 mkdir $basename
 : > $basename/$stdout_file
-echo "$PERL -w $srcdir/../../texi2any.pl --set-customization-variable 
'TEXI2HTML 1' --set-customization-variable 'TEST 1' --conf-dir 
$srcdir/../../init --init-file tex4ht.pm --iftex --out $basename/encodé/ 
$srcdir/../tex_html/tex_encodé.texi $srcdir/../tex_html/tex_complex.texi 
--force >> $basename/$stdout_file 2>$basename/${basename}.2" >> $logfile
-$PERL -w $srcdir/../../texi2any.pl --set-customization-variable 'TEXI2HTML 1' 
--set-customization-variable 'TEST 1' --conf-dir $srcdir/../../init --init-file 
tex4ht.pm --iftex --out $basename/encodé/ $srcdir/../tex_html/tex_encodé.texi 
$srcdir/../tex_html/tex_complex.texi --force >> $basename/$stdout_file 
2>$basename/${basename}.2
+echo "$PERL -w $srcdir/../../texi2any.pl --set-customization-variable 
'TEXI2HTML 1' --set-customization-variable 'TEST 1' --conf-dir 
$srcdir/../../init --init-file tex4ht.pm --iftex --out $basename/encodé/ 
$srcdir/../tex_html/tex_encodé_utf8.texi $srcdir/../tex_html/tex_complex.texi 
--force >> $basename/$stdout_file 2>$basename/${basename}.2" >> $logfile
+$PERL -w $srcdir/../../texi2any.pl --set-customization-variable 'TEXI2HTML 1' 
--set-customization-variable 'TEST 1' --conf-dir $srcdir/../../init --init-file 
tex4ht.pm --iftex --out $basename/encodé/ 
$srcdir/../tex_html/tex_encodé_utf8.texi $srcdir/../tex_html/tex_complex.texi 
--force >> $basename/$stdout_file 2>$basename/${basename}.2
 
 return_code=0
 ret=$?
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.tex"
 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.tex"
deleted file mode 100644
index 18eff28080..0000000000
--- 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.tex"
+++ /dev/null
@@ -1,16 +0,0 @@
-% Automatically generated
-\csname tex4ht\endcsname
-\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_tex4ht_tex tex 1 
-->\Hnewline}
-$$
-� \partial_{\eta} g(\eta(t),\varphi(t));
-$$
-\HCode{\Hnewline <!-- tex4ht_end tex_encod�_tex4ht_tex tex 1 -->\Hnewline 
\Hnewline}
-\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_tex4ht_tex math 2 
-->\Hnewline}
-\IgnorePar $(I-D) � \varphi(t)$\HCode{\Hnewline <!-- tex4ht_end 
tex_encod�_tex4ht_tex math 2 -->\Hnewline \Hnewline}
-\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_tex4ht_tex displaymath 
3 -->\Hnewline}
-
-$$ � � �  \int v(t)\, dt = u(t) + C
-$$
-\HCode{\Hnewline <!-- tex4ht_end tex_encod�_tex4ht_tex displaymath 3 
-->\Hnewline \Hnewline}
-
-\bye
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.xref"
 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.xref"
deleted file mode 100644
index 745c048b10..0000000000
--- 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.xref"
+++ /dev/null
@@ -1 +0,0 @@
-\:CrossWord{)F1F-}{tex_encodé_tex4ht_tex.html}{1}%
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251.html" 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8.html"
similarity index 96%
copy from 
"tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251.html"
copy to 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8.html"
index 8467f02ce5..35ace3f0c1 100644
--- "a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251.html"
+++ 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8.html"
@@ -14,7 +14,7 @@
 
 <style type="text/css">
 <!--
-@import "tex_encodé_tex4ht_tex.css";
+@import "tex_encodé_utf8_tex4ht_tex.css";
 
 span.program-in-footer {font-size: smaller}
 -->
@@ -57,7 +57,7 @@ span.program-in-footer {font-size: smaller}
 
     <div class="math-display" >
 <img 
-src="tex_encodé_tex4ht_tex0x.png" 
alt="&#x2202;&#x03B7;g(&#x03B7;(t),&#x03C6;(t));
+src="tex_encodé_utf8_tex4ht_tex0x.png" 
alt="&#x2202;&#x03B7;g(&#x03B7;(t),&#x03C6;(t));
 " class="math-display" ></div>
 <!--l. 7--><p class="indent" >     
 
@@ -71,7 +71,7 @@ class="cmmi-10">t</span>)  math.
 
     <div class="math-display" >
 <img 
-src="tex_encodé_tex4ht_tex1x.png" alt="&#x222B;
+src="tex_encodé_utf8_tex4ht_tex1x.png" alt="&#x222B;
   v(t)dt = u(t)+ C
 " class="math-display" ></div>
 <!--l. 14--><p class="indent" >     
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.4ct"
 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.4ct"
similarity index 100%
copy from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.4ct"
copy to 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.4ct"
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.4tc"
 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.4tc"
similarity index 100%
copy from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.4tc"
copy to 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.4tc"
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.css"
 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.css"
similarity index 100%
copy from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.css"
copy to 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.css"
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.lg"
 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.lg"
similarity index 89%
copy from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.lg"
copy to 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.lg"
index 38a71ba96b..c694390132 100644
--- 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.lg"
+++ 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.lg"
@@ -1,8 +1,8 @@
 htfcss: cmmi font-style: italic;
 htfcss: cmmib font-style: italic; font-weight: bold;
-File: tex_encodé_tex4ht_tex.html
-File: tex_encodé_tex4ht_tex.css
-File: tex_encodé_tex4ht_tex.tmp
+File: tex_encodé_utf8_tex4ht_tex.html
+File: tex_encodé_utf8_tex4ht_tex.css
+File: tex_encodé_utf8_tex4ht_tex.tmp
 Css: p{margin-top:0;margin-bottom:0}
 Css: p.indent{text-indent:0;}
 Css: p + p{margin-top:1em;}
@@ -46,8 +46,8 @@ Css: table.leqalignno, table.eqalignno {width:100%;}
 Css: img.cdots{vertical-align:middle;}
 Css: div.pmatrix {text-align:center;}
 Css: table.pmatrix {width:100%;}
---- needs --- tex_encodé_tex4ht_tex.idv[1] ==> tex_encodé_tex4ht_tex0x.png ---
---- needs --- tex_encodé_tex4ht_tex.idv[2] ==> tex_encodé_tex4ht_tex1x.png ---
+--- needs --- tex_encodé_utf8_tex4ht_tex.idv[1] ==> 
tex_encodé_utf8_tex4ht_tex0x.png ---
+--- needs --- tex_encodé_utf8_tex4ht_tex.idv[2] ==> 
tex_encodé_utf8_tex4ht_tex1x.png ---
 --- characters ---
 Font("cmr","10","10","100")
 Font("cmmi","10","10","100")
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.tex"
 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.tex"
new file mode 100644
index 0000000000..25269dd21a
--- /dev/null
+++ 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.tex"
@@ -0,0 +1,16 @@
+% Automatically generated
+\csname tex4ht\endcsname
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_utf8_tex4ht_tex tex 1 
-->\Hnewline}
+$$
+� \partial_{\eta} g(\eta(t),\varphi(t));
+$$
+\HCode{\Hnewline <!-- tex4ht_end tex_encod�_utf8_tex4ht_tex tex 1 -->\Hnewline 
\Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_utf8_tex4ht_tex math 2 
-->\Hnewline}
+\IgnorePar $(I-D) � \varphi(t)$\HCode{\Hnewline <!-- tex4ht_end 
tex_encod�_utf8_tex4ht_tex math 2 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_utf8_tex4ht_tex 
displaymath 3 -->\Hnewline}
+
+$$ � � �  \int v(t)\, dt = u(t) + C
+$$
+\HCode{\Hnewline <!-- tex4ht_end tex_encod�_utf8_tex4ht_tex displaymath 3 
-->\Hnewline \Hnewline}
+
+\bye
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.tmp"
 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.tmp"
similarity index 100%
copy from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.tmp"
copy to 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.tmp"
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.xref"
 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.xref"
new file mode 100644
index 0000000000..7419dfaf4a
--- /dev/null
+++ 
"b/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_utf8_tex4ht_tex.xref"
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{tex_encodé_utf8_tex4ht_tex.html}{1}%
diff --git a/tp/tests/test_scripts/tex_html_tex_encoded_httex.sh 
b/tp/tests/test_scripts/tex_html_tex_encoded_latin1_httex.sh
similarity index 92%
copy from tp/tests/test_scripts/tex_html_tex_encoded_httex.sh
copy to tp/tests/test_scripts/tex_html_tex_encoded_latin1_httex.sh
index e19df40ea6..09da1aec14 100755
--- a/tp/tests/test_scripts/tex_html_tex_encoded_httex.sh
+++ b/tp/tests/test_scripts/tex_html_tex_encoded_latin1_httex.sh
@@ -15,7 +15,7 @@ if test "z$TEX_HTML_TESTS" != z"yes"; then
 fi
 
 dir=tex_html
-name='tex_encoded_httex'
+name='tex_encoded_latin1_httex'
 mkdir -p $dir
 
 "$srcdir"/run_parser_all.sh -dir $dir $name
diff --git a/tp/tests/test_scripts/tex_html_tex_encoded_l2h.sh 
b/tp/tests/test_scripts/tex_html_tex_encoded_latin1_l2h.sh
similarity index 93%
rename from tp/tests/test_scripts/tex_html_tex_encoded_l2h.sh
rename to tp/tests/test_scripts/tex_html_tex_encoded_latin1_l2h.sh
index fb3a94b96d..595b9d8e18 100755
--- a/tp/tests/test_scripts/tex_html_tex_encoded_l2h.sh
+++ b/tp/tests/test_scripts/tex_html_tex_encoded_latin1_l2h.sh
@@ -15,7 +15,7 @@ if test "z$TEX_HTML_TESTS" != z"yes"; then
 fi
 
 dir=tex_html
-name='tex_encoded_l2h'
+name='tex_encoded_latin1_l2h'
 mkdir -p $dir
 
 "$srcdir"/run_parser_all.sh -dir $dir $name
diff --git a/tp/tests/test_scripts/tex_html_tex_encoded_httex.sh 
b/tp/tests/test_scripts/tex_html_tex_encoded_utf8_httex.sh
similarity index 93%
copy from tp/tests/test_scripts/tex_html_tex_encoded_httex.sh
copy to tp/tests/test_scripts/tex_html_tex_encoded_utf8_httex.sh
index e19df40ea6..846dddf32e 100755
--- a/tp/tests/test_scripts/tex_html_tex_encoded_httex.sh
+++ b/tp/tests/test_scripts/tex_html_tex_encoded_utf8_httex.sh
@@ -15,7 +15,7 @@ if test "z$TEX_HTML_TESTS" != z"yes"; then
 fi
 
 dir=tex_html
-name='tex_encoded_httex'
+name='tex_encoded_utf8_httex'
 mkdir -p $dir
 
 "$srcdir"/run_parser_all.sh -dir $dir $name
diff --git a/tp/tests/test_scripts/tex_html_tex_encoded_httex.sh 
b/tp/tests/test_scripts/tex_html_tex_encoded_utf8_l2h.sh
similarity index 93%
rename from tp/tests/test_scripts/tex_html_tex_encoded_httex.sh
rename to tp/tests/test_scripts/tex_html_tex_encoded_utf8_l2h.sh
index e19df40ea6..05949cb207 100755
--- a/tp/tests/test_scripts/tex_html_tex_encoded_httex.sh
+++ b/tp/tests/test_scripts/tex_html_tex_encoded_utf8_l2h.sh
@@ -15,7 +15,7 @@ if test "z$TEX_HTML_TESTS" != z"yes"; then
 fi
 
 dir=tex_html
-name='tex_encoded_httex'
+name='tex_encoded_utf8_l2h'
 mkdir -p $dir
 
 "$srcdir"/run_parser_all.sh -dir $dir $name
diff --git a/tp/tests/tex_html/Makefile.am b/tp/tests/tex_html/Makefile.am
index a669d27fd6..d11fc6ef67 100644
--- a/tp/tests/tex_html/Makefile.am
+++ b/tp/tests/tex_html/Makefile.am
@@ -3,7 +3,8 @@ EXTRA_DIST = \
  tex_complex.texi \
  tex_in_copying.texi \
  math_not_closed.texi       tex_not_closed.texi \
- tex.texi tex_gdef.texi tex_eqalign.texi tex_encodé.texi \
+ tex.texi tex_gdef.texi tex_eqalign.texi tex_encodé_utf8.texi \
+ tex_encode_latin1.texi \
  list-of-tests res_parser
 
 DISTCLEANFILES = tests.log tests.out
diff --git a/tp/tests/tex_html/list-of-tests b/tp/tests/tex_html/list-of-tests
index ac5ffaa90b..1dc9126241 100644
--- a/tp/tests/tex_html/list-of-tests
+++ b/tp/tests/tex_html/list-of-tests
@@ -20,8 +20,10 @@ tex_eqalign_l2h tex_eqalign.texi -c 'HTML_MATH l2h' --iftex
 math_not_closed math_not_closed.texi -c 'HTML_MATH l2h' --iftex
 tex_not_closed tex_not_closed.texi -c 'HTML_MATH l2h' --iftex
 tex_in_copying tex_in_copying.texi -c 'HTML_MATH l2h' --iftex
-tex_encoded_l2h tex_encodé.texi -c 'HTML_MATH l2h' --iftex
-tex_encoded_httex tex_encodé.texi --init tex4ht.pm --iftex
+tex_encoded_utf8_l2h tex_encodé_utf8.texi -c 'HTML_MATH l2h' --iftex
+tex_encoded_utf8_httex tex_encodé_utf8.texi --init tex4ht.pm --iftex
+tex_encoded_latin1_l2h tex_encode_latin1.texi -c 'HTML_MATH l2h' --iftex
+tex_encoded_latin1_httex tex_encode_latin1.texi --init tex4ht.pm --iftex
 formatting_singular ../layout/formatting.texi --init-file t2h_singular.init -c 
'HTML_MATH l2h' -c 'EXTENSION htm' -c 'PREFIX sing' -c 'TOP_FILE index.htm' 
--no-verbose
 # The following could be added, mainly to test the full 
 # ../layout/formatting.texi processing with tex4ht, but
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.tex"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.tex"
deleted file mode 100644
index 18eff28080..0000000000
--- 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.tex"
+++ /dev/null
@@ -1,16 +0,0 @@
-% Automatically generated
-\csname tex4ht\endcsname
-\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_tex4ht_tex tex 1 
-->\Hnewline}
-$$
-� \partial_{\eta} g(\eta(t),\varphi(t));
-$$
-\HCode{\Hnewline <!-- tex4ht_end tex_encod�_tex4ht_tex tex 1 -->\Hnewline 
\Hnewline}
-\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_tex4ht_tex math 2 
-->\Hnewline}
-\IgnorePar $(I-D) � \varphi(t)$\HCode{\Hnewline <!-- tex4ht_end 
tex_encod�_tex4ht_tex math 2 -->\Hnewline \Hnewline}
-\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_tex4ht_tex displaymath 
3 -->\Hnewline}
-
-$$ � � �  \int v(t)\, dt = u(t) + C
-$$
-\HCode{\Hnewline <!-- tex4ht_end tex_encod�_tex4ht_tex displaymath 3 
-->\Hnewline \Hnewline}
-
-\bye
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.xref"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.xref"
deleted file mode 100644
index 745c048b10..0000000000
--- 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.xref"
+++ /dev/null
@@ -1 +0,0 @@
-\:CrossWord{)F1F-}{tex_encodé_tex4ht_tex.html}{1}%
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251.html" 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1.html
similarity index 95%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251.html"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1.html
index 8467f02ce5..1c6ea2ce49 100644
--- "a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251.html"
+++ 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1.html
@@ -2,7 +2,7 @@
 <html>
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <title>top</title>
 
 <meta name="description" content="top">
@@ -14,7 +14,7 @@
 
 <style type="text/css">
 <!--
-@import "tex_encodé_tex4ht_tex.css";
+@import "tex_encode_latin1_tex4ht_tex.css";
 
 span.program-in-footer {font-size: smaller}
 -->
@@ -24,6 +24,7 @@ span.program-in-footer {font-size: smaller}
 </head>
 
 <body lang="en">
+
 <div class="top-level-extent" id="Top">
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
@@ -57,7 +58,7 @@ span.program-in-footer {font-size: smaller}
 
     <div class="math-display" >
 <img 
-src="tex_encodé_tex4ht_tex0x.png" 
alt="&#x2202;&#x03B7;g(&#x03B7;(t),&#x03C6;(t));
+src="tex_encode_latin1_tex4ht_tex0x.png" 
alt="&#x2202;&#x03B7;g(&#x03B7;(t),&#x03C6;(t));
 " class="math-display" ></div>
 <!--l. 7--><p class="indent" >     
 
@@ -71,7 +72,7 @@ class="cmmi-10">t</span>)  math.
 
     <div class="math-display" >
 <img 
-src="tex_encodé_tex4ht_tex1x.png" alt="&#x222B;
+src="tex_encode_latin1_tex4ht_tex1x.png" alt="&#x222B;
   v(t)dt = u(t)+ C
 " class="math-display" ></div>
 <!--l. 14--><p class="indent" >     
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.4ct"
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.4ct
similarity index 100%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.4ct"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.4ct
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.4tc"
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.4tc
similarity index 100%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.4tc"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.4tc
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.css"
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.css
similarity index 100%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.css"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.css
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.html"
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.html
similarity index 54%
copy from 
"tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.html"
copy to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.html
index 9a02781aca..78bcda7b8a 100644
--- 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.html"
+++ 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.html
@@ -3,48 +3,48 @@
 <html > 
 <head>
 
-    <title>tex_encodé_tex4ht_tex.html</title> 
+    <title>tex_encode_latin1_tex4ht_tex.html</title> 
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
 <meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)"> 
 <meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)"> 
 <!-- html --> 
-<meta name="src" content="tex_encodé_tex4ht_tex.tex"> 
-<link rel="stylesheet" type="text/css" href="tex_encodé_tex4ht_tex.css"> 
+<meta name="src" content="tex_encode_latin1_tex4ht_tex.tex"> 
+<link rel="stylesheet" type="text/css" 
href="tex_encode_latin1_tex4ht_tex.css"> 
 </head><body 
 >
 <!--l. 3--><p class="indent" >     
  
-<!-- tex4ht_begin tex_encod�_tex4ht_tex tex 1 --> 
+<!-- tex4ht_begin tex_encode_latin1_tex4ht_tex tex 1 --> 
 
     <div class="math-display" >
 <img 
-src="tex_encodé_tex4ht_tex0x.png" 
alt="&#x2202;&#x03B7;g(&#x03B7;(t),&#x03C6;(t));
+src="tex_encode_latin1_tex4ht_tex0x.png" 
alt="&#x2202;&#x03B7;g(&#x03B7;(t),&#x03C6;(t));
 " class="math-display" ></div>
 <!--l. 7--><p class="indent" >     
-<!-- tex4ht_end tex_encod�_tex4ht_tex tex 1 --> 
+<!-- tex4ht_end tex_encode_latin1_tex4ht_tex tex 1 --> 
  
   
  
-<!-- tex4ht_begin tex_encod�_tex4ht_tex math 2 --> 
+<!-- tex4ht_begin tex_encode_latin1_tex4ht_tex math 2 --> 
  (<span 
 class="cmmi-10">I </span><span 
 class="cmsy-10">- </span><span 
 class="cmmi-10">D</span>)<span 
 class="cmmi-10">&#x03C6;</span>(<span 
 class="cmmi-10">t</span>) 
-<!-- tex4ht_end tex_encod�_tex4ht_tex math 2 --> 
+<!-- tex4ht_end tex_encode_latin1_tex4ht_tex math 2 --> 
  
   
  
-<!-- tex4ht_begin tex_encod�_tex4ht_tex displaymath 3 --> 
+<!-- tex4ht_begin tex_encode_latin1_tex4ht_tex displaymath 3 --> 
 
     <div class="math-display" >
 <img 
-src="tex_encodé_tex4ht_tex1x.png" alt="&#x222B;
+src="tex_encode_latin1_tex4ht_tex1x.png" alt="&#x222B;
   v(t)dt = u(t)+ C
 " class="math-display" ></div>
 <!--l. 14--><p class="indent" >     
-<!-- tex4ht_end tex_encod�_tex4ht_tex displaymath 3 --> 
+<!-- tex4ht_end tex_encode_latin1_tex4ht_tex displaymath 3 --> 
  
 
 
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.lg"
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.lg
similarity index 89%
rename from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.lg"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.lg
index 38a71ba96b..d0a530548a 100644
--- 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.lg"
+++ 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.lg
@@ -1,8 +1,8 @@
 htfcss: cmmi font-style: italic;
 htfcss: cmmib font-style: italic; font-weight: bold;
-File: tex_encodé_tex4ht_tex.html
-File: tex_encodé_tex4ht_tex.css
-File: tex_encodé_tex4ht_tex.tmp
+File: tex_encode_latin1_tex4ht_tex.html
+File: tex_encode_latin1_tex4ht_tex.css
+File: tex_encode_latin1_tex4ht_tex.tmp
 Css: p{margin-top:0;margin-bottom:0}
 Css: p.indent{text-indent:0;}
 Css: p + p{margin-top:1em;}
@@ -46,8 +46,8 @@ Css: table.leqalignno, table.eqalignno {width:100%;}
 Css: img.cdots{vertical-align:middle;}
 Css: div.pmatrix {text-align:center;}
 Css: table.pmatrix {width:100%;}
---- needs --- tex_encodé_tex4ht_tex.idv[1] ==> tex_encodé_tex4ht_tex0x.png ---
---- needs --- tex_encodé_tex4ht_tex.idv[2] ==> tex_encodé_tex4ht_tex1x.png ---
+--- needs --- tex_encode_latin1_tex4ht_tex.idv[1] ==> 
tex_encode_latin1_tex4ht_tex0x.png ---
+--- needs --- tex_encode_latin1_tex4ht_tex.idv[2] ==> 
tex_encode_latin1_tex4ht_tex1x.png ---
 --- characters ---
 Font("cmr","10","10","100")
 Font("cmmi","10","10","100")
diff --git 
a/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.tex
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.tex
new file mode 100644
index 0000000000..065458417d
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.tex
@@ -0,0 +1,16 @@
+% Automatically generated
+\csname tex4ht\endcsname
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encode_latin1_tex4ht_tex tex 
1 -->\Hnewline}
+$$
+� \partial_{\eta} g(\eta(t),\varphi(t));
+$$
+\HCode{\Hnewline <!-- tex4ht_end tex_encode_latin1_tex4ht_tex tex 1 
-->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encode_latin1_tex4ht_tex math 
2 -->\Hnewline}
+\IgnorePar $(I-D) � \varphi(t)$\HCode{\Hnewline <!-- tex4ht_end 
tex_encode_latin1_tex4ht_tex math 2 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encode_latin1_tex4ht_tex 
displaymath 3 -->\Hnewline}
+
+$$ � � �  \int v(t)\, dt = u(t) + C
+$$
+\HCode{\Hnewline <!-- tex4ht_end tex_encode_latin1_tex4ht_tex displaymath 3 
-->\Hnewline \Hnewline}
+
+\bye
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.tmp"
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.tmp
similarity index 100%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.tmp"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.tmp
diff --git 
a/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.xref
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.xref
new file mode 100644
index 0000000000..4a16111bab
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_httex/tex_encode_latin1_tex4ht_tex.xref
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{tex_encode_latin1_tex4ht_tex.html}{1}%
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251-l2h_cache.pm"
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1-l2h_cache.pm
similarity index 95%
rename from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251-l2h_cache.pm"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1-l2h_cache.pm
index 47a14fc616..1d6b571e34 100644
--- 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251-l2h_cache.pm"
+++ 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1-l2h_cache.pm
@@ -12,7 +12,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_encodé_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " 
SRC="tex_encode_latin1_1.svg"
  ALT="$\displaystyle é \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -28,7 +28,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_encodé_3.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " 
SRC="tex_encode_latin1_3.svg"
  ALT="$\displaystyle é ï î \int v(t)\, dt = u(t) + C
 $">
 </DIV>
@@ -39,7 +39,7 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $(I-D) é \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_encodé_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_encode_latin1_2.svg"
  ALT="$(I-D) é \varphi(t)$"></SPAN>|;
 
 1;
diff --git "a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251.2" 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1.2
similarity index 100%
copy from "tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251.2"
copy to tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1.2
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251.html" 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1.html
similarity index 93%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251.html"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1.html
index e82ff19219..9fd1041fd5 100644
--- "a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251.html"
+++ b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1.html
@@ -2,7 +2,7 @@
 <html>
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <title>top</title>
 
 <meta name="description" content="top">
@@ -22,6 +22,7 @@ span.program-in-footer {font-size: smaller}
 </head>
 
 <body lang="en">
+
 <div class="top-level-extent" id="Top">
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
@@ -55,34 +56,34 @@ span.program-in-footer {font-size: smaller}
 <DIV CLASS="displaymath">
 <!-- MATH
  \begin{displaymath}
-é \partial_{\eta} g(\eta(t),\varphi(t));
+� \partial_{\eta} g(\eta(t),\varphi(t));
 \end{displaymath}
  -->
 
 <IMG
- STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_encodé_1.svg"
- ALT="$\displaystyle é \partial_{\eta} g(\eta(t),\varphi(t));
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " 
SRC="tex_encode_latin1_1.svg"
+ ALT="$\displaystyle � \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
 
 
 <p>Some <!-- MATH
- $(I-D) é \varphi(t)$
+ $(I-D) � \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_encodé_2.svg"
- ALT="$(I-D) é \varphi(t)$"></SPAN> math.
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_encode_latin1_2.svg"
+ ALT="$(I-D) � \varphi(t)$"></SPAN> math.
 </p>
 <DIV CLASS="displaymath">
 <!-- MATH
  \begin{displaymath}
-é ï î  \int v(t)\, dt = u(t) + C
+� � �  \int v(t)\, dt = u(t) + C
 \end{displaymath}
  -->
 
 <IMG
- STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_encodé_3.svg"
- ALT="$\displaystyle é ï î \int v(t)\, dt = u(t) + C
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " 
SRC="tex_encode_latin1_3.svg"
+ ALT="$\displaystyle � � � \int v(t)\, dt = u(t) + C
 $">
 </DIV>
 
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.html"
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1_l2h.html
similarity index 67%
rename from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.html"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1_l2h.html
index 8ffcbdd98f..44d83ec792 100644
--- 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.html"
+++ 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1_l2h.html
@@ -3,9 +3,9 @@
 <!--Converted with LaTeX2HTML
 <HTML lang="en">
 <HEAD>
-<TITLE>tex_encodé_l2h</TITLE>
-<META NAME="description" CONTENT="tex_encodé_l2h">
-<META NAME="keywords" CONTENT="tex_encodé_l2h">
+<TITLE>tex_encode_latin1_l2h</TITLE>
+<META NAME="description" CONTENT="tex_encode_latin1_l2h">
+<META NAME="keywords" CONTENT="tex_encode_latin1_l2h">
 <META NAME="resource-type" CONTENT="document">
 <META NAME="distribution" CONTENT="global">
 
@@ -13,13 +13,13 @@
 <META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0">
 <META NAME="Generator" CONTENT="LaTeX2HTML">
 
-<LINK REL="STYLESHEET" HREF="tex_encodé_l2h.css">
+<LINK REL="STYLESHEET" HREF="tex_encode_latin1_l2h.css">
 
 </HEAD>
 
 <BODY >
 
-<!-- l2h_begin tex_encodé_l2h 1 -->
+<!-- l2h_begin tex_encode_latin1_l2h 1 -->
 <DIV CLASS="displaymath">
 <!-- MATH
  \begin{displaymath}
@@ -28,25 +28,25 @@
  -->
 
 <IMG
- STYLE="height: 2.86ex; vertical-align: -0.78ex; " 
SRC="tex_encodé_l2h_img1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " 
SRC="tex_encode_latin1_l2h_img1.svg"
  ALT="$\displaystyle é \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
 
 
-<!-- l2h_end tex_encodé_l2h 1 -->
+<!-- l2h_end tex_encode_latin1_l2h 1 -->
 
-<!-- l2h_begin tex_encodé_l2h 2 -->
+<!-- l2h_begin tex_encode_latin1_l2h 2 -->
 <!-- MATH
  $(I-D) é \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_encodé_l2h_img2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_encode_latin1_l2h_img2.svg"
  ALT="$(I-D) é \varphi(t)$"></SPAN>
 
-<!-- l2h_end tex_encodé_l2h 2 -->
+<!-- l2h_end tex_encode_latin1_l2h 2 -->
 
-<!-- l2h_begin tex_encodé_l2h 3 -->
+<!-- l2h_begin tex_encode_latin1_l2h 3 -->
 <DIV CLASS="displaymath">
 <!-- MATH
  \begin{displaymath}
@@ -55,13 +55,13 @@ $">
  -->
 
 <IMG
- STYLE="height: 5.61ex; vertical-align: -2.12ex; " 
SRC="tex_encodé_l2h_img3.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " 
SRC="tex_encode_latin1_l2h_img3.svg"
  ALT="$\displaystyle é ï î \int v(t)\, dt = u(t) + C
 $">
 </DIV>
 
 
-<!-- l2h_end tex_encodé_l2h 3 -->
+<!-- l2h_end tex_encode_latin1_l2h 3 -->
 <BR>
 <HR>
 </BODY>
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.tex"
 b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1_l2h.tex
similarity index 65%
rename from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.tex"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1_l2h.tex
index f2079f8fa0..4ff4ba6c72 100644
--- 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h.tex"
+++ 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1_l2h.tex
@@ -5,32 +5,32 @@
 \begin{document}
 \begin{rawhtml}
 
-<!-- l2h_begin tex_encodé_l2h 1 -->
+<!-- l2h_begin tex_encode_latin1_l2h 1 -->
 \end{rawhtml}
 $$
 é \partial_{\eta} g(\eta(t),\varphi(t));
 $$
 \begin{rawhtml}
-<!-- l2h_end tex_encodé_l2h 1 -->
+<!-- l2h_end tex_encode_latin1_l2h 1 -->
 
 \end{rawhtml}
 \begin{rawhtml}
 
-<!-- l2h_begin tex_encodé_l2h 2 -->
+<!-- l2h_begin tex_encode_latin1_l2h 2 -->
 \end{rawhtml}
 $(I-D) é \varphi(t)$
 \begin{rawhtml}
-<!-- l2h_end tex_encodé_l2h 2 -->
+<!-- l2h_end tex_encode_latin1_l2h 2 -->
 
 \end{rawhtml}
 \begin{rawhtml}
 
-<!-- l2h_begin tex_encodé_l2h 3 -->
+<!-- l2h_begin tex_encode_latin1_l2h 3 -->
 \end{rawhtml}
 $$ é ï î  \int v(t)\, dt = u(t) + C
 $$
 \begin{rawhtml}
-<!-- l2h_end tex_encodé_l2h 3 -->
+<!-- l2h_end tex_encode_latin1_l2h 3 -->
 
 \end{rawhtml}
 \end{document}
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251_l2h_images.tex"
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1_l2h_images.tex
similarity index 100%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251_l2h_images.tex"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1_l2h_images.tex
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251_l2h_labels.pl"
 
b/tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1_l2h_labels.pl
similarity index 100%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251_l2h_labels.pl"
rename to 
tp/tests/tex_html/res_parser/tex_encoded_latin1_l2h/tex_encode_latin1_l2h_labels.pl
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251.html"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8.html"
similarity index 96%
rename from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251.html"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8.html"
index 8467f02ce5..35ace3f0c1 100644
--- 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251.html"
+++ 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8.html"
@@ -14,7 +14,7 @@
 
 <style type="text/css">
 <!--
-@import "tex_encodé_tex4ht_tex.css";
+@import "tex_encodé_utf8_tex4ht_tex.css";
 
 span.program-in-footer {font-size: smaller}
 -->
@@ -57,7 +57,7 @@ span.program-in-footer {font-size: smaller}
 
     <div class="math-display" >
 <img 
-src="tex_encodé_tex4ht_tex0x.png" 
alt="&#x2202;&#x03B7;g(&#x03B7;(t),&#x03C6;(t));
+src="tex_encodé_utf8_tex4ht_tex0x.png" 
alt="&#x2202;&#x03B7;g(&#x03B7;(t),&#x03C6;(t));
 " class="math-display" ></div>
 <!--l. 7--><p class="indent" >     
 
@@ -71,7 +71,7 @@ class="cmmi-10">t</span>)  math.
 
     <div class="math-display" >
 <img 
-src="tex_encodé_tex4ht_tex1x.png" alt="&#x222B;
+src="tex_encodé_utf8_tex4ht_tex1x.png" alt="&#x222B;
   v(t)dt = u(t)+ C
 " class="math-display" ></div>
 <!--l. 14--><p class="indent" >     
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.4ct"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.4ct"
similarity index 100%
rename from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.4ct"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.4ct"
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.4tc"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.4tc"
similarity index 100%
rename from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.4tc"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.4tc"
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.css"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.css"
similarity index 100%
rename from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.css"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.css"
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.html"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.html"
similarity index 55%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.html"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.html"
index 9a02781aca..6b18e52e11 100644
--- 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.html"
+++ 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.html"
@@ -3,48 +3,48 @@
 <html > 
 <head>
 
-    <title>tex_encodé_tex4ht_tex.html</title> 
+    <title>tex_encodé_utf8_tex4ht_tex.html</title> 
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
 <meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)"> 
 <meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)"> 
 <!-- html --> 
-<meta name="src" content="tex_encodé_tex4ht_tex.tex"> 
-<link rel="stylesheet" type="text/css" href="tex_encodé_tex4ht_tex.css"> 
+<meta name="src" content="tex_encodé_utf8_tex4ht_tex.tex"> 
+<link rel="stylesheet" type="text/css" href="tex_encodé_utf8_tex4ht_tex.css"> 
 </head><body 
 >
 <!--l. 3--><p class="indent" >     
  
-<!-- tex4ht_begin tex_encod�_tex4ht_tex tex 1 --> 
+<!-- tex4ht_begin tex_encod�_utf8_tex4ht_tex tex 1 --> 
 
     <div class="math-display" >
 <img 
-src="tex_encodé_tex4ht_tex0x.png" 
alt="&#x2202;&#x03B7;g(&#x03B7;(t),&#x03C6;(t));
+src="tex_encodé_utf8_tex4ht_tex0x.png" 
alt="&#x2202;&#x03B7;g(&#x03B7;(t),&#x03C6;(t));
 " class="math-display" ></div>
 <!--l. 7--><p class="indent" >     
-<!-- tex4ht_end tex_encod�_tex4ht_tex tex 1 --> 
+<!-- tex4ht_end tex_encod�_utf8_tex4ht_tex tex 1 --> 
  
   
  
-<!-- tex4ht_begin tex_encod�_tex4ht_tex math 2 --> 
+<!-- tex4ht_begin tex_encod�_utf8_tex4ht_tex math 2 --> 
  (<span 
 class="cmmi-10">I </span><span 
 class="cmsy-10">- </span><span 
 class="cmmi-10">D</span>)<span 
 class="cmmi-10">&#x03C6;</span>(<span 
 class="cmmi-10">t</span>) 
-<!-- tex4ht_end tex_encod�_tex4ht_tex math 2 --> 
+<!-- tex4ht_end tex_encod�_utf8_tex4ht_tex math 2 --> 
  
   
  
-<!-- tex4ht_begin tex_encod�_tex4ht_tex displaymath 3 --> 
+<!-- tex4ht_begin tex_encod�_utf8_tex4ht_tex displaymath 3 --> 
 
     <div class="math-display" >
 <img 
-src="tex_encodé_tex4ht_tex1x.png" alt="&#x222B;
+src="tex_encodé_utf8_tex4ht_tex1x.png" alt="&#x222B;
   v(t)dt = u(t)+ C
 " class="math-display" ></div>
 <!--l. 14--><p class="indent" >     
-<!-- tex4ht_end tex_encod�_tex4ht_tex displaymath 3 --> 
+<!-- tex4ht_end tex_encod�_utf8_tex4ht_tex displaymath 3 --> 
  
 
 
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.lg"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.lg"
similarity index 89%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.lg"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.lg"
index 38a71ba96b..c694390132 100644
--- 
"a/tp/tests/tex_html/res_parser/tex_encoded_httex/tex_encod\303\251_tex4ht_tex.lg"
+++ 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.lg"
@@ -1,8 +1,8 @@
 htfcss: cmmi font-style: italic;
 htfcss: cmmib font-style: italic; font-weight: bold;
-File: tex_encodé_tex4ht_tex.html
-File: tex_encodé_tex4ht_tex.css
-File: tex_encodé_tex4ht_tex.tmp
+File: tex_encodé_utf8_tex4ht_tex.html
+File: tex_encodé_utf8_tex4ht_tex.css
+File: tex_encodé_utf8_tex4ht_tex.tmp
 Css: p{margin-top:0;margin-bottom:0}
 Css: p.indent{text-indent:0;}
 Css: p + p{margin-top:1em;}
@@ -46,8 +46,8 @@ Css: table.leqalignno, table.eqalignno {width:100%;}
 Css: img.cdots{vertical-align:middle;}
 Css: div.pmatrix {text-align:center;}
 Css: table.pmatrix {width:100%;}
---- needs --- tex_encodé_tex4ht_tex.idv[1] ==> tex_encodé_tex4ht_tex0x.png ---
---- needs --- tex_encodé_tex4ht_tex.idv[2] ==> tex_encodé_tex4ht_tex1x.png ---
+--- needs --- tex_encodé_utf8_tex4ht_tex.idv[1] ==> 
tex_encodé_utf8_tex4ht_tex0x.png ---
+--- needs --- tex_encodé_utf8_tex4ht_tex.idv[2] ==> 
tex_encodé_utf8_tex4ht_tex1x.png ---
 --- characters ---
 Font("cmr","10","10","100")
 Font("cmmi","10","10","100")
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.tex"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.tex"
new file mode 100644
index 0000000000..25269dd21a
--- /dev/null
+++ 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.tex"
@@ -0,0 +1,16 @@
+% Automatically generated
+\csname tex4ht\endcsname
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_utf8_tex4ht_tex tex 1 
-->\Hnewline}
+$$
+� \partial_{\eta} g(\eta(t),\varphi(t));
+$$
+\HCode{\Hnewline <!-- tex4ht_end tex_encod�_utf8_tex4ht_tex tex 1 -->\Hnewline 
\Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_utf8_tex4ht_tex math 2 
-->\Hnewline}
+\IgnorePar $(I-D) � \varphi(t)$\HCode{\Hnewline <!-- tex4ht_end 
tex_encod�_utf8_tex4ht_tex math 2 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_encod�_utf8_tex4ht_tex 
displaymath 3 -->\Hnewline}
+
+$$ � � �  \int v(t)\, dt = u(t) + C
+$$
+\HCode{\Hnewline <!-- tex4ht_end tex_encod�_utf8_tex4ht_tex displaymath 3 
-->\Hnewline \Hnewline}
+
+\bye
diff --git 
"a/tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.tmp"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.tmp"
similarity index 100%
rename from 
"tp/tests/many_input_files/tex_t4ht_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_tex4ht_tex.tmp"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.tmp"
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.xref"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.xref"
new file mode 100644
index 0000000000..7419dfaf4a
--- /dev/null
+++ 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_httex/tex_encod\303\251_utf8_tex4ht_tex.xref"
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{tex_encodé_utf8_tex4ht_tex.html}{1}%
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251-l2h_cache.pm" 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8-l2h_cache.pm"
similarity index 95%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251-l2h_cache.pm"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8-l2h_cache.pm"
index 47a14fc616..13ddb57acd 100644
--- 
"a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251-l2h_cache.pm"
+++ 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8-l2h_cache.pm"
@@ -12,7 +12,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_encodé_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_encodé_utf8_1.svg"
  ALT="$\displaystyle é \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -28,7 +28,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_encodé_3.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_encodé_utf8_3.svg"
  ALT="$\displaystyle é ï î \int v(t)\, dt = u(t) + C
 $">
 </DIV>
@@ -39,7 +39,7 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $(I-D) é \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_encodé_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_encodé_utf8_2.svg"
  ALT="$(I-D) é \varphi(t)$"></SPAN>|;
 
 1;
diff --git "a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251.2" 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8.2"
similarity index 100%
rename from "tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251.2"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8.2"
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251.html"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8.html"
similarity index 99%
rename from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251.html"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8.html"
index e82ff19219..0a09baac1e 100644
--- 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251.html"
+++ 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8.html"
@@ -60,7 +60,7 @@ span.program-in-footer {font-size: smaller}
  -->
 
 <IMG
- STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_encodé_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_encodé_utf8_1.svg"
  ALT="$\displaystyle é \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -70,7 +70,7 @@ $">
  $(I-D) é \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_encodé_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_encodé_utf8_2.svg"
  ALT="$(I-D) é \varphi(t)$"></SPAN> math.
 </p>
 <DIV CLASS="displaymath">
@@ -81,7 +81,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_encodé_3.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_encodé_utf8_3.svg"
  ALT="$\displaystyle é ï î \int v(t)\, dt = u(t) + C
 $">
 </DIV>
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251_l2h.html" 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8_l2h.html"
similarity index 67%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251_l2h.html"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8_l2h.html"
index 8ffcbdd98f..a9ecc49af6 100644
--- "a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251_l2h.html"
+++ 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8_l2h.html"
@@ -3,9 +3,9 @@
 <!--Converted with LaTeX2HTML
 <HTML lang="en">
 <HEAD>
-<TITLE>tex_encodé_l2h</TITLE>
-<META NAME="description" CONTENT="tex_encodé_l2h">
-<META NAME="keywords" CONTENT="tex_encodé_l2h">
+<TITLE>tex_encodé_utf8_l2h</TITLE>
+<META NAME="description" CONTENT="tex_encodé_utf8_l2h">
+<META NAME="keywords" CONTENT="tex_encodé_utf8_l2h">
 <META NAME="resource-type" CONTENT="document">
 <META NAME="distribution" CONTENT="global">
 
@@ -13,13 +13,13 @@
 <META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0">
 <META NAME="Generator" CONTENT="LaTeX2HTML">
 
-<LINK REL="STYLESHEET" HREF="tex_encodé_l2h.css">
+<LINK REL="STYLESHEET" HREF="tex_encodé_utf8_l2h.css">
 
 </HEAD>
 
 <BODY >
 
-<!-- l2h_begin tex_encodé_l2h 1 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 1 -->
 <DIV CLASS="displaymath">
 <!-- MATH
  \begin{displaymath}
@@ -28,25 +28,25 @@
  -->
 
 <IMG
- STYLE="height: 2.86ex; vertical-align: -0.78ex; " 
SRC="tex_encodé_l2h_img1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " 
SRC="tex_encodé_utf8_l2h_img1.svg"
  ALT="$\displaystyle é \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
 
 
-<!-- l2h_end tex_encodé_l2h 1 -->
+<!-- l2h_end tex_encodé_utf8_l2h 1 -->
 
-<!-- l2h_begin tex_encodé_l2h 2 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 2 -->
 <!-- MATH
  $(I-D) é \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_encodé_l2h_img2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_encodé_utf8_l2h_img2.svg"
  ALT="$(I-D) é \varphi(t)$"></SPAN>
 
-<!-- l2h_end tex_encodé_l2h 2 -->
+<!-- l2h_end tex_encodé_utf8_l2h 2 -->
 
-<!-- l2h_begin tex_encodé_l2h 3 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 3 -->
 <DIV CLASS="displaymath">
 <!-- MATH
  \begin{displaymath}
@@ -55,13 +55,13 @@ $">
  -->
 
 <IMG
- STYLE="height: 5.61ex; vertical-align: -2.12ex; " 
SRC="tex_encodé_l2h_img3.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " 
SRC="tex_encodé_utf8_l2h_img3.svg"
  ALT="$\displaystyle é ï î \int v(t)\, dt = u(t) + C
 $">
 </DIV>
 
 
-<!-- l2h_end tex_encodé_l2h 3 -->
+<!-- l2h_end tex_encodé_utf8_l2h 3 -->
 <BR>
 <HR>
 </BODY>
diff --git 
"a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251_l2h.tex" 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8_l2h.tex"
similarity index 65%
rename from 
"tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251_l2h.tex"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8_l2h.tex"
index f2079f8fa0..62abee15c8 100644
--- "a/tp/tests/tex_html/res_parser/tex_encoded_l2h/tex_encod\303\251_l2h.tex"
+++ 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8_l2h.tex"
@@ -5,32 +5,32 @@
 \begin{document}
 \begin{rawhtml}
 
-<!-- l2h_begin tex_encodé_l2h 1 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 1 -->
 \end{rawhtml}
 $$
 é \partial_{\eta} g(\eta(t),\varphi(t));
 $$
 \begin{rawhtml}
-<!-- l2h_end tex_encodé_l2h 1 -->
+<!-- l2h_end tex_encodé_utf8_l2h 1 -->
 
 \end{rawhtml}
 \begin{rawhtml}
 
-<!-- l2h_begin tex_encodé_l2h 2 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 2 -->
 \end{rawhtml}
 $(I-D) é \varphi(t)$
 \begin{rawhtml}
-<!-- l2h_end tex_encodé_l2h 2 -->
+<!-- l2h_end tex_encodé_utf8_l2h 2 -->
 
 \end{rawhtml}
 \begin{rawhtml}
 
-<!-- l2h_begin tex_encodé_l2h 3 -->
+<!-- l2h_begin tex_encodé_utf8_l2h 3 -->
 \end{rawhtml}
 $$ é ï î  \int v(t)\, dt = u(t) + C
 $$
 \begin{rawhtml}
-<!-- l2h_end tex_encodé_l2h 3 -->
+<!-- l2h_end tex_encodé_utf8_l2h 3 -->
 
 \end{rawhtml}
 \end{document}
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h_images.tex"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8_l2h_images.tex"
similarity index 100%
rename from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h_images.tex"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8_l2h_images.tex"
diff --git 
"a/tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h_labels.pl"
 
"b/tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8_l2h_labels.pl"
similarity index 100%
rename from 
"tp/tests/many_input_files/tex_l2h_output_dir_non_ascii_res/encod\303\251/tex_encod\303\251_l2h_labels.pl"
rename to 
"tp/tests/tex_html/res_parser/tex_encoded_utf8_l2h/tex_encod\303\251_utf8_l2h_labels.pl"
diff --git a/tp/tests/tex_html/tex_encode_latin1.texi 
b/tp/tests/tex_html/tex_encode_latin1.texi
new file mode 100644
index 0000000000..afe2dff7db
--- /dev/null
+++ b/tp/tests/tex_html/tex_encode_latin1.texi
@@ -0,0 +1,22 @@
+\input texinfo @c -*-texinfo-*-
+
+@documentencoding ISO-8859-1
+
+@node Top
+@top top
+
+@node Chapter
+@chapter chap
+
+@tex
+$$
+� \partial_{\eta} g(\eta(t),\varphi(t));
+$$
+@end tex
+
+Some @math{(I-D) � \varphi(t)} math.
+
+@displaymath
+ � � �  \int v(t)\, dt = u(t) + C
+@end displaymath
+
diff --git "a/tp/tests/tex_html/tex_encod\303\251.texi" 
"b/tp/tests/tex_html/tex_encod\303\251_utf8.texi"
similarity index 100%
rename from "tp/tests/tex_html/tex_encod\303\251.texi"
rename to "tp/tests/tex_html/tex_encod\303\251_utf8.texi"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]