Skip to Content.
Sympa Menu

devel - [sympa-developpers] Use of UTF-8 --- Re: sympa [9919] branches/sympa-cleanup/src/sbin: [dev] use utf8 characters directly

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: IKEDA Soji <address@concealed>
  • To: address@concealed
  • Subject: [sympa-developpers] Use of UTF-8 --- Re: sympa [9919] branches/sympa-cleanup/src/sbin: [dev] use utf8 characters directly
  • Date: Fri, 22 Nov 2013 18:44:28 +0900

Hi Guillaume and all,

You replaced some characters in sources with raw UTF-8 strings.
Some of your changes won't cause expected results.

(1) Earlier releases (5.8.x) of pod2man do not recognize "=encoding"
POD directive. In addition, some of them deny to generate
manpages from PODs including non-ASCII bytes.

So POD E<...> markup should be used instead of raw UTF-8 sequences.

(2) Most components of Sympa do not have "use utf8" pragma so that
UTF-8 strings in the sources will be handled as multiple bytes
(one of a little exceptions is Marc::Search).

So raw UTF-8 in the sources (especially regexp) might not work
as expected.


I will made suggestions.

[8053] branches/sympa-cleanup/src: [dev] conversion to utf8

<https://address@concealed>

- arc2webarc.pl.in:
bytes 0xE9 and 0xFB in regexps were replaced with multibyte
sequences 0xC3 0xA9 and 0xC3 0xBB. These would rather be string
escapes "\xE9" and "\xFB". ...(2)

- Sympa/Message.pm:
- sympa_wizard.pl.in:
A byte 0xFC was replaced with raw UTF-8. This should rather be
POD markup "E<252>". ...(1)

[9919] branches/sympa-cleanup/src/sbin: [dev] use utf8 characters directly
<Attached below>

- All changes:
POD markup E<...> should be used. ...(1)


Regards,

--- Soji


* *

r9919 | rousse | 2013-10-08 00:39:54 +0900 (Tue, 08 Oct 2013) | 1 line
Changed paths:
M /branches/sympa-cleanup/src/sbin/alias_manager.pl.in
M /branches/sympa-cleanup/src/sbin/archived.pl.in
M /branches/sympa-cleanup/src/sbin/bounced.pl.in
M /branches/sympa-cleanup/src/sbin/sympa_wizard.pl.in

[dev] use utf8 characters directly
------------------------------------------------------------------------
Index: branches/sympa-cleanup/src/sbin/alias_manager.pl.in
===================================================================
--- branches/sympa-cleanup/src/sbin/alias_manager.pl.in (revision 9918)
+++ branches/sympa-cleanup/src/sbin/alias_manager.pl.in (revision 9919)
@@ -79,25 +79,25 @@

=item Serge Aumont

-ComitE<233> RE<233>seau des UniversitE<233>s
+Comité Réseau des Universités

-=item Olivier SalaE<252>n
+=item Olivier Salaün

-ComitE<233> RE<233>seau des UniversitE<233>s
+Comité Réseau des Universités

=back

Contact authors at <address@concealed>

This manual page was initially written by
-JE<233>rE<244>me Marant <address@concealed>
+Jérôme Marant <address@concealed>
for the Debian GNU/Linux system.

=head1 COPYRIGHT

-Copyright E<169> 1997,1998,1999,2000,2001 ComitE<233> RE<233>seau des
UniversitE<233>s
+Copyright (c) 1997,1998,1999,2000,2001 Comité Réseau des Universités

-Copyright E<169> 1997,1998,1999 Institut Pasteur & Christophe Wolfhugel
+Copyright (c) 1997,1998,1999 Institut Pasteur & Christophe Wolfhugel

You may distribute this software under the terms of the GNU General
Public License Version 2 (L<http://www.gnu.org/copyleft/gpl.html>)
Index: branches/sympa-cleanup/src/sbin/archived.pl.in
===================================================================
--- branches/sympa-cleanup/src/sbin/archived.pl.in (revision 9918)
+++ branches/sympa-cleanup/src/sbin/archived.pl.in (revision 9919)
@@ -90,25 +90,25 @@

=item Serge Aumont

-ComitE<233> RE<233>seau des UniversitE<233>s
+Comité Réseau des Universités

-=item Olivier SalaE<252>n
+=item Olivier Salaün

-ComitE<233> RE<233>seau des UniversitE<233>s
+Comité Réseau des Universités

=back

Contact authors at <address@concealed>

This manual page was initially written by
-JE<233>rE<244>me Marant <address@concealed>
+Jérôme Marant <address@concealed>
for the Debian GNU/Linux system.

=head1 COPYRIGHT

-Copyright E<169> 1997,1998,1999,2000,2001 ComitE<233> RE<233>seau des
UniversitE<233>s
+Copyright (c) 1997,1998,1999,2000,2001 Comité Réseau des Universités

-Copyright E<169> 1997,1998,1999 Institut Pasteur & Christophe Wolfhugel
+Copyright (c) 1997,1998,1999 Institut Pasteur & Christophe Wolfhugel

You may distribute this software under the terms of the GNU General
Public License Version 2 (L<http://www.gnu.org/copyleft/gpl.html>)
@@ -1165,7 +1165,7 @@

=item * Serge Aumont <sa AT cru.fr>

-=item * Olivier SalaE<252>n <os AT cru.fr>
+=item * Olivier Salaün <os AT cru.fr>

=back

Index: branches/sympa-cleanup/src/sbin/sympa_wizard.pl.in
===================================================================
--- branches/sympa-cleanup/src/sbin/sympa_wizard.pl.in (revision 9918)
+++ branches/sympa-cleanup/src/sbin/sympa_wizard.pl.in (revision 9919)
@@ -65,7 +65,7 @@

=item Serge Aumont <address@concealed>

-=item Olivier SalaE<252>n <address@concealed>
+=item Olivier Salaün <address@concealed>

=back

Index: branches/sympa-cleanup/src/sbin/bounced.pl.in
===================================================================
--- branches/sympa-cleanup/src/sbin/bounced.pl.in (revision 9918)
+++ branches/sympa-cleanup/src/sbin/bounced.pl.in (revision 9919)
@@ -95,25 +95,25 @@

=item Serge Aumont

-ComitE<233> RE<233>seau des UniversitE<233>s
+Comité Réseau des Universités

-=item Olivier SalaE<252>n
+=item Olivier Salaün

-ComitE<233> RE<233>seau des UniversitE<233>s
+Comité Réseau des Universités

=back

Contact authors at <address@concealed>

This manual page was initially written by
-JE<233>rE<244>me Marant <address@concealed>
+Jérôme Marant <address@concealed>
for the Debian GNU/Linux system.

=head1 COPYRIGHT

-Copyright E<169> 1997,1998,1999,2000,2001 ComitE<233> RE<233>seau des
UniversitE<233>s
+Copyright (c) 1997,1998,1999,2000,2001 Comité Réseau des Universités

-Copyright E<169> 1997,1998,1999 Institut Pasteur & Christophe Wolfhugel
+Copyright (c) 1997,1998,1999 Institut Pasteur & Christophe Wolfhugel

You may distribute this software under the terms of the GNU General
Public License Version 2 (L<http://www.gnu.org/copyleft/gpl.html>)






Archive powered by MHonArc 2.6.19+.

Top of Page