On Sep 1, 2007, at 16:35, Gaetan CAPOU via RT wrote:
Show quoted text> C:\Perl\site\bin>svnnotify --repos-path d:\svn_repos -r 1 --to
> my_address@email.fr --smtp smtp.serveur.com -H HTML::ColorDiff -d
>
> The result is 2 errors:
>
> utf8 "\x96" does not map to Unicode at C:/Perl/site/lib/SVN/Notify.pm
> line 2039.
From the docs:
=item charset
svnnotify --charset UTF-8
svnnotify -c Big5
The character set typically used on the repository for log messages,
file
names, and file contents. Used to specify the character set in the email
Content-Type headers and, when the C<language> paremeter is
specified, the
C<$LANG> environment variable when launching C<sendmail>. Defaults to
"UTF-8".
=item io_layer
svnnotify --io-layer raw
svnnotify -o bytes
The Perl IO layer to use for inputting and outputting data. See
L<perlio|perlio> for details. Defaults to "encoding($charset)". If your
repository uses different character encodings, C<charset> should be
set to
whatever is the most common character encoding, and C<io_layer> is
best set to
C<raw>, e.g., C<--io-layer raw --charset cp850>. In that case, some
characters
might not look right in the commit messaage (because an email can
manage only
one character encoding at a time), but then C<svnnotify> won't get stuck
issuing a slew of warnings.
Does that help?
Best,
David