texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/maintain/copy_change_file_name_encoding.pl:


From: Patrice Dumas
Subject: branch master updated: * tp/maintain/copy_change_file_name_encoding.pl: change the character appearing in the test of 8bit encoded include file, as it may be special on Windows. Report from Gavin.
Date: Wed, 26 Oct 2022 15:16:22 -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 3cbe017ff8 * tp/maintain/copy_change_file_name_encoding.pl: change the 
character appearing in the test of 8bit encoded include file, as it may be 
special on Windows.  Report from Gavin.
3cbe017ff8 is described below

commit 3cbe017ff844305d610c5287250800a301bd5ef8
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Oct 26 21:16:10 2022 +0200

    * tp/maintain/copy_change_file_name_encoding.pl: change the character
    appearing in the test of 8bit encoded include file, as it may be
    special on Windows.  Report from Gavin.
---
 ChangeLog                                                           | 6 ++++++
 tp/maintain/copy_change_file_name_encoding.pl                       | 4 ++--
 tp/tests/formatting/manual_include_accented_file_name_latin1.texi   | 2 +-
 .../manual_include_accented_file_name_latin1.2                      | 2 +-
 .../manual_include_accented_file_name_latin1.2                      | 2 +-
 .../manual_include_accented_file_name_latin1.2                      | 2 +-
 6 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dda393501f..6ae0bcebd9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-10-25  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/maintain/copy_change_file_name_encoding.pl: change the character
+       appearing in the test of 8bit encoded include file, as it may be
+       special on Windows.  Report from Gavin.
+
 2022-10-25  Patrice Dumas  <pertusus@free.fr>
 
        * tp/maintain/copy_change_file_name_encoding.pl: use a character
diff --git a/tp/maintain/copy_change_file_name_encoding.pl 
b/tp/maintain/copy_change_file_name_encoding.pl
index 41a9cd1970..61329cb3ba 100755
--- a/tp/maintain/copy_change_file_name_encoding.pl
+++ b/tp/maintain/copy_change_file_name_encoding.pl
@@ -57,8 +57,8 @@ if (defined($dest_dir)) {
 my $converted_dest_path = Encode::decode($from, $dest_path);
 # not that converted_dest_path may not be in UTF-8, depends what perl 
internally
 # does.
-# The Yen and Yuan sign is used as it is common to many 8bit codepages.
-$converted_dest_path =~ s/latin/lat¥n/;
+# The character which is used is common to many 8bit codepages.
+$converted_dest_path =~ s/latin/lat§n/;
 my $dest_path_in_utf8 = Encode::encode('UTF-8', $converted_dest_path);
 # use another variable, since from_to argument is converted in-place
 my $dest_path_in_to_encoding = $dest_path_in_utf8;
diff --git a/tp/tests/formatting/manual_include_accented_file_name_latin1.texi 
b/tp/tests/formatting/manual_include_accented_file_name_latin1.texi
index eba5f97e86..ffd385f8ab 100644
--- a/tp/tests/formatting/manual_include_accented_file_name_latin1.texi
+++ b/tp/tests/formatting/manual_include_accented_file_name_latin1.texi
@@ -6,6 +6,6 @@
 
 This is a very simple texi manual @  <>.
 
-@include included_lat�n1.texi
+@include included_lat�n1.texi
 
 @bye
diff --git 
a/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1/manual_include_accented_file_name_latin1.2
 
b/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1/manual_include_accented_file_name_latin1.2
index 83c92a52af..f8f6530fc9 100644
--- 
a/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1/manual_include_accented_file_name_latin1.2
+++ 
b/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1/manual_include_accented_file_name_latin1.2
@@ -1 +1 @@
-included_lat�n1.texi:4: unknown command `unknowncmd'
+included_lat�n1.texi:4: unknown command `unknowncmd'
diff --git 
a/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.2
 
b/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.2
index 83c92a52af..f8f6530fc9 100644
--- 
a/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.2
+++ 
b/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.2
@@ -1 +1 @@
-included_lat�n1.texi:4: unknown command `unknowncmd'
+included_lat�n1.texi:4: unknown command `unknowncmd'
diff --git 
a/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.2
 
b/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.2
index aa14c8d5e6..277ab58594 100644
--- 
a/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.2
+++ 
b/tp/tests/formatting/res_parser/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.2
@@ -1 +1 @@
-manual_include_accented_file_name_latin1.texi:9: @include: could not find 
included_lat¥n1.texi
+manual_include_accented_file_name_latin1.texi:9: @include: could not find 
included_lat§n1.texi



reply via email to

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