[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Makefile.tres, tp/t/formats_encodings.t (acc
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Makefile.tres, tp/t/formats_encodings.t (accented_character_in_file_name): add to the t/*.t test suite a file that is already tested in tp/tests/encoded/ and has an accented letter in the Texinfo input file name. |
Date: |
Thu, 04 Apr 2024 18:52:15 -0400 |
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 4123baae0d * tp/Makefile.tres, tp/t/formats_encodings.t
(accented_character_in_file_name): add to the t/*.t test suite a file that is
already tested in tp/tests/encoded/ and has an accented letter in the Texinfo
input file name.
4123baae0d is described below
commit 4123baae0d98a6c4934e595011166aee03158c0d
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Apr 5 00:51:59 2024 +0200
* tp/Makefile.tres, tp/t/formats_encodings.t
(accented_character_in_file_name): add to the t/*.t test suite a file
that is already tested in tp/tests/encoded/ and has an accented letter
in the Texinfo input file name.
---
ChangeLog | 7 +
tp/Makefile.tres | 3 +
tp/t/formats_encodings.t | 12 +
.../accented_character_in_file_name.pl | 938 +++++++++++++++++++++
.../res_html/Chapteur.html | 54 ++
.../res_html/index.html | 49 ++
.../res_info/os\303\251_utf8.info" | 38 +
7 files changed, 1101 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 0eea8a96de..000aadcb14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-04-04 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Makefile.tres, tp/t/formats_encodings.t
+ (accented_character_in_file_name): add to the t/*.t test suite a file
+ that is already tested in tp/tests/encoded/ and has an accented letter
+ in the Texinfo input file name.
+
2024-04-04 Patrice Dumas <pertusus@free.fr>
* tp/t/test_utils.pl (test): test if $document is undef to determine
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index 05df6fbad7..a16c19f2aa 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -496,6 +496,9 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/formats_encodings/accent.pl \
t/results/formats_encodings/accent_argument_non_ascii.pl \
t/results/formats_encodings/accent_enable_encoding.pl \
+ t/results/formats_encodings/accented_character_in_file_name.pl \
+ t/results/formats_encodings/accented_character_in_file_name/res_html \
+ t/results/formats_encodings/accented_character_in_file_name/res_info \
t/results/formats_encodings/accentenc.pl \
t/results/formats_encodings/accentenc_enable_encoding.pl \
t/results/formats_encodings/at_commands_in_refs.pl \
diff --git a/tp/t/formats_encodings.t b/tp/t/formats_encodings.t
index 45ac11a3fb..23f355c590 100644
--- a/tp/t/formats_encodings.t
+++ b/tp/t/formats_encodings.t
@@ -1,5 +1,7 @@
use strict;
+use Encode;
+
use lib '.';
use Texinfo::ModulePath (undef, undef, undef, 'updirs' => 2);
@@ -395,6 +397,16 @@ undef, {'test_file' => 'multiple_include_encodings.texi',
'skip' => $Texinfo::ModulePath::conversion_from_euc_cn ne 'yes'
? 'No conversion from EUC-CN' : undef, }
],
+# This tests is also (and maybe more) a test for the test code.
+# In particular it shows that the file names in error messages
+# are doubly encoded to utf-8. It does not prevent tests to succeed as
+# both the reference and the checked result are doubly encoded.
+# A similar test is also used in tests/encoded, but here we have the
+# tree in addition.
+['accented_character_in_file_name',
+undef, {'test_file' => Encode::encode('utf-8',
+ "../../tests/encoded/os\x{e9}_utf8.texi")},
+],
['at_commands_in_refs_utf8',
'@setfilename at_commands_in_refs_utf8.info
@documentencoding utf-8
diff --git a/tp/t/results/formats_encodings/accented_character_in_file_name.pl
b/tp/t/results/formats_encodings/accented_character_in_file_name.pl
new file mode 100644
index 0000000000..961e59b442
--- /dev/null
+++ b/tp/t/results/formats_encodings/accented_character_in_file_name.pl
@@ -0,0 +1,938 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'accented_character_in_file_name'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => '\\input texinfo.tex
+',
+ 'type' => 'text_before_beginning'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'text_before_beginning'
+ }
+ ],
+ 'type' => 'preamble_before_beginning'
+ }
+ ],
+ 'type' => 'preamble_before_setfilename'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "os\x{e9}_utf8.info"
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'setfilename',
+ 'extra' => {
+ 'text_arg' => "os\x{e9}_utf8.info"
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 3
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'type' => 'preamble_before_content'
+ }
+ ],
+ 'type' => 'before_node_section'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'Top'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 5
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "T\x{f4}p"
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 6
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "Chapt\x{ea}ur"
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'Chapt_00eaur'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 8
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "Chapte\x{f9}r"
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'source_marks' => [
+ {
+ 'counter' => 1,
+ 'element' => {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "T\x{db}T"
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'ifset',
+ 'contents' => [
+ {
+ 'text' => "isset T\x{db}T
+",
+ 'type' => 'raw'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'ifset'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'text_arg' => 'ifset'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 13
+ }
+ }
+ ],
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 11
+ }
+ },
+ 'position' => 1,
+ 'sourcemark_type' => 'ignored_conditional_block'
+ }
+ ],
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => "value v\x{f9}r "
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "v\x{f9}r"
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'value'
+ },
+ {
+ 'text' => '.
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "included_ak\x{e7}ent\x{ea}d.texi"
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'include',
+ 'extra' => {
+ 'text_arg' => "included_ak\x{e7}ent\x{ea}d.texi"
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 17
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "an_\x{ef}mage"
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => "\x{f6}ld"
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'image',
+ 'extra' => {
+ 'input_encoding_name' => 'utf-8'
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 19
+ }
+ },
+ {
+ 'text' => '
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'an_'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'i'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'dotless',
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 20
+ }
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => '"',
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 20
+ }
+ },
+ {
+ 'text' => 'mage'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'o'
+ }
+ ],
+ 'type' => 'following_arg'
+ }
+ ],
+ 'cmdname' => '"',
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 20
+ }
+ },
+ {
+ 'text' => 'ld'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'image',
+ 'extra' => {
+ 'input_encoding_name' => 'utf-8'
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 20
+ }
+ },
+ {
+ 'text' => '
+'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "txt_\x{e7}image"
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'image',
+ 'extra' => {
+ 'input_encoding_name' => 'utf-8'
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 22
+ }
+ },
+ {
+ 'text' => '
+'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "d\x{ee}rectory/im\x{e0}ge"
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => "\x{e2}lt"
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ".\x{ea}xt"
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'image',
+ 'extra' => {
+ 'input_encoding_name' => 'utf-8'
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 24
+ }
+ },
+ {
+ 'text' => '
+'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "not_exist\x{ef}ng.t\x{e9}xi"
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'include',
+ 'extra' => {
+ 'text_arg' => "not_exist\x{ef}ng.t\x{e9}xi"
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 26
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "included_ak\x{e7}ent\x{ea}d.texi"
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'verbatiminclude',
+ 'extra' => {
+ 'input_encoding_name' => 'utf-8',
+ 'text_arg' => "included_ak\x{e7}ent\x{ea}d.texi"
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 28
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => "vi_not_exist\x{ef}ng.t\x{e9}xi"
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'verbatiminclude',
+ 'extra' => {
+ 'input_encoding_name' => 'utf-8',
+ 'text_arg' => "vi_not_exist\x{ef}ng.t\x{e9}xi"
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 30
+ }
+ }
+ ],
+ 'extra' => {
+ 'section_number' => '1'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 9
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+
+$result_texis{'accented_character_in_file_name'} = '\\input texinfo.tex
+
+@setfilename osé_utf8.info
+
+@node Top
+@top Tôp
+
+@node Chaptêur
+@chapter Chapteùr
+
+
+value vùr @value{vùr}.
+
+@include included_akçentêd.texi
+
+@image{an_ïmage,,,öld}
+@image{an_@"{@dotless{i}}mage,,,@"old}
+
+@image{txt_çimage}
+
+@image{dîrectory/imàge,,,âlt,.êxt}
+
+@include not_existïng.téxi
+
+@verbatiminclude included_akçentêd.texi
+
+@verbatiminclude vi_not_existïng.téxi
+';
+
+
+$result_texts{'accented_character_in_file_name'} = '
+Tôp
+***
+
+1 Chapteùr
+**********
+
+
+value vùr vùr.
+
+
+an_ïmage
+an_i"mage
+
+txt_çimage
+
+dîrectory/imàge
+
+
+
+';
+
+$result_sectioning{'accented_character_in_file_name'} = {
+ 'extra' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Chapt_00eaur'
+ }
+ },
+ 'section_directions' => {
+ 'up' => {}
+ },
+ 'section_level' => 1,
+ 'section_number' => '1',
+ 'toplevel_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ }
+ }
+ }
+ ],
+ 'section_level' => 0,
+ 'sectioning_root' => {},
+ 'toplevel_directions' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'accented_character_in_file_name'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
=
$result_sectioning{'accented_character_in_file_name'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'accented_character_in_file_name'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'prev'}
=
$result_sectioning{'accented_character_in_file_name'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'accented_character_in_file_name'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'up'}
=
$result_sectioning{'accented_character_in_file_name'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'accented_character_in_file_name'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
= $result_sectioning{'accented_character_in_file_name'};
+
+$result_nodes{'accented_character_in_file_name'} = [
+ {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {}
+ },
+ 'node_directions' => {
+ 'next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'section_number' => '1'
+ }
+ },
+ 'node_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ },
+ 'normalized' => 'Chapt_00eaur'
+ }
+ }
+ },
+ 'normalized' => 'Top'
+ }
+ },
+ {}
+];
+$result_nodes{'accented_character_in_file_name'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
= $result_nodes{'accented_character_in_file_name'}[0];
+$result_nodes{'accented_character_in_file_name'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
= $result_nodes{'accented_character_in_file_name'}[0];
+$result_nodes{'accented_character_in_file_name'}[1] =
$result_nodes{'accented_character_in_file_name'}[0]{'extra'}{'node_directions'}{'next'};
+
+$result_menus{'accented_character_in_file_name'} = [
+ {
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ {
+ 'extra' => {
+ 'normalized' => 'Chapt_00eaur'
+ }
+ }
+];
+
+$result_errors{'accented_character_in_file_name'} = [
+ {
+ 'error_line' => "warning: undefined flag: v\x{f9}r
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 15,
+ 'text' => "undefined flag: v\x{f9}r",
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => "\@include: could not find included_ak\x{e7}ent\x{ea}d.texi
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 17,
+ 'text' => "\@include: could not find included_ak\x{e7}ent\x{ea}d.texi",
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => "\@include: could not find not_exist\x{ef}ng.t\x{e9}xi
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 26,
+ 'text' => "\@include: could not find not_exist\x{ef}ng.t\x{e9}xi",
+ 'type' => 'error'
+ }
+];
+
+
+$result_floats{'accented_character_in_file_name'} = {};
+
+
+$result_converted_errors{'file_html'}->{'accented_character_in_file_name'} = [
+ {
+ 'error_line' => "warning: \@image file `an_\x{ef}mage' (for HTML) not
found, using `an_\x{ef}mage.jpg'
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 19,
+ 'text' => "\@image file `an_\x{ef}mage' (for HTML) not found, using
`an_\x{ef}mage.jpg'",
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => "warning: \@image file `an_\x{ef}mage' (for HTML) not
found, using `an_\x{ef}mage.jpg'
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 20,
+ 'text' => "\@image file `an_\x{ef}mage' (for HTML) not found, using
`an_\x{ef}mage.jpg'",
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => "warning: \@image file `txt_\x{e7}image' (for HTML) not
found, using `txt_\x{e7}image.jpg'
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 22,
+ 'text' => "\@image file `txt_\x{e7}image' (for HTML) not found, using
`txt_\x{e7}image.jpg'",
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => "warning: \@image file `d\x{ee}rectory/im\x{e0}ge' (for
HTML) not found, using `d\x{ee}rectory/im\x{e0}ge.\x{ea}xt'
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 24,
+ 'text' => "\@image file `d\x{ee}rectory/im\x{e0}ge' (for HTML) not found,
using `d\x{ee}rectory/im\x{e0}ge.\x{ea}xt'",
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => "\@verbatiminclude: could not find
included_ak\x{e7}ent\x{ea}d.texi
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 28,
+ 'text' => "\@verbatiminclude: could not find
included_ak\x{e7}ent\x{ea}d.texi",
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => "\@verbatiminclude: could not find
vi_not_exist\x{ef}ng.t\x{e9}xi
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 30,
+ 'text' => "\@verbatiminclude: could not find
vi_not_exist\x{ef}ng.t\x{e9}xi",
+ 'type' => 'error'
+ }
+];
+
+
+$result_converted_errors{'file_info'}->{'accented_character_in_file_name'} = [
+ {
+ 'error_line' => "warning: could not find \@image file
`txt_\x{e7}image.txt' nor alternate text
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 22,
+ 'text' => "could not find \@image file `txt_\x{e7}image.txt' nor alternate
text",
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => "\@verbatiminclude: could not find
included_ak\x{e7}ent\x{ea}d.texi
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 28,
+ 'text' => "\@verbatiminclude: could not find
included_ak\x{e7}ent\x{ea}d.texi",
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => "\@verbatiminclude: could not find
vi_not_exist\x{ef}ng.t\x{e9}xi
+",
+ 'file_name' => 'osé_utf8.texi',
+ 'line_nr' => 30,
+ 'text' => "\@verbatiminclude: could not find
vi_not_exist\x{ef}ng.t\x{e9}xi",
+ 'type' => 'error'
+ }
+];
+
+
+1;
diff --git
a/tp/t/results/formats_encodings/accented_character_in_file_name/res_html/Chapteur.html
b/tp/t/results/formats_encodings/accented_character_in_file_name/res_html/Chapteur.html
new file mode 100644
index 0000000000..0fa476d0c1
--- /dev/null
+++
b/tp/t/results/formats_encodings/accented_character_in_file_name/res_html/Chapteur.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Chaptêur (Tôp)</title>
+
+<meta name="description" content="Chaptêur (Tôp)">
+<meta name="keywords" content="Chaptêur (Tôp)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="index.html" rel="prev" title="Top">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="Chapt_00eaur">
+<div class="nav-panel">
+<p>
+Previous: <a href="index.html" accesskey="p" rel="prev">Tôp</a>, Up: <a
href="index.html" accesskey="u" rel="up">Tôp</a> </p>
+</div>
+<hr>
+<h2 class="chapter" id="Chapteur"><span>1 Chapteùr<a class="copiable-link"
href="#Chapteur"> ¶</a></span></h2>
+
+
+<p>value vùr {No value for ‘vùr’}.
+</p>
+
+<img class="image" src="an_%c3%afmage.jpg" alt="öld">
+<img class="image" src="an_%c3%afmage.jpg" alt="öld">
+
+<img class="image" src="txt_%c3%a7image.jpg" alt="txt_çimage">
+
+<img class="image" src="d%c3%aerectory/im%c3%a0ge.%c3%aaxt" alt="âlt">
+
+
+
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/formats_encodings/accented_character_in_file_name/res_html/index.html
b/tp/t/results/formats_encodings/accented_character_in_file_name/res_html/index.html
new file mode 100644
index 0000000000..ad33101066
--- /dev/null
+++
b/tp/t/results/formats_encodings/accented_character_in_file_name/res_html/index.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Top (Tôp)</title>
+
+<meta name="description" content="Top (Tôp)">
+<meta name="keywords" content="Top (Tôp)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="#Top" rel="start" title="Top">
+<link href="Chapteur.html" rel="next" title="Chaptêur">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+
+<div class="top-level-extent" id="Top">
+<div class="nav-panel">
+<p>
+Next: <a href="Chapteur.html" accesskey="n" rel="next">Chapteùr</a> </p>
+</div>
+<hr>
+<h1 class="top" id="Top-1"><span>Tôp<a class="copiable-link" href="#Top-1">
¶</a></span></h1>
+
+<ul class="mini-toc">
+<li><a href="Chapteur.html" accesskey="1">Chapteùr</a></li>
+</ul>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Next: <a href="Chapteur.html" accesskey="n" rel="next">Chapteùr</a> </p>
+</div>
+
+
+
+</body>
+</html>
diff --git
"a/tp/t/results/formats_encodings/accented_character_in_file_name/res_info/os\303\251_utf8.info"
"b/tp/t/results/formats_encodings/accented_character_in_file_name/res_info/os\303\251_utf8.info"
new file mode 100644
index 0000000000..7dfc0a4e34
--- /dev/null
+++
"b/tp/t/results/formats_encodings/accented_character_in_file_name/res_info/os\303\251_utf8.info"
@@ -0,0 +1,38 @@
+This is osé_utf8.info, produced from osé_utf8.texi.
+
+
+File: osé_utf8.info, Node: Top, Next: Chaptêur, Up: (dir)
+
+Tôp
+***
+
+* Menu:
+
+* Chaptêur::
+
+
+File: osé_utf8.info, Node: Chaptêur, Prev: Top, Up: Top
+
+1 Chapteùr
+**********
+
+value vùr {No value for 'vùr'}.
+
+[öld]
+[öld]
+
+[txt_çimage]
+
+[âlt]
+
+
+Tag Table:
+Node: Top57
+Node: Chaptêur157
+
+End Tag Table
+
+
+Local Variables:
+coding: utf-8
+End:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Makefile.tres, tp/t/formats_encodings.t (accented_character_in_file_name): add to the t/*.t test suite a file that is already tested in tp/tests/encoded/ and has an accented letter in the Texinfo input file name.,
Patrice Dumas <=