Bacula-users

[Bacula-users] Can I catch the mail message before it is sent?

2009-05-14 09:32:23
Subject: [Bacula-users] Can I catch the mail message before it is sent?
From: Bernd Plagge <bplagge AT choicenet.ne DOT jp>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 14 May 2009 22:27:31 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

Windows backup works fine now and there is only one minor problem left.

This is a Japanese Windows system and the mail report always contains some 
Japanese messages (drive mounted, file found/not found etc.). The mail report 
is sent to my mail account but the Japanese text is unreadable.

The reason for this is that the Windows messages are encoded in Shift JIS while 
the mail is sent in UTF-8 (aka Unicode).
Shift JIS is an 8 bit Japanese encoding standard NOT suitable for email. For 
email you may use either iso-20222-jp (which is a 7bit code very similar to the 
old JIS codeset) or UTF-8.

For this reason I would like to convert the message to Unicode before it is 
sent. There are a number of conversion programs available like nkf (network 
kanji filter) . If I can pipe the message text through nkf before sending it 
this would solve the issue.

So, the question is how can I achieve this.
Any ideas?

Thanks for any help!

Cheers,
Bernd

- -- 
Bernd Plagge - プラゲ ベェアント 
First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoMHEMACgkQpYU8M8PbPV6WNgCgse8cDc1FnHFHjO+0Jw2vZX5G
Kk4AnAvRqTT19e+WPEut6Ie483LWeD+W
=0Kj4
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Can I catch the mail message before it is sent?, Bernd Plagge <=