ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1082
|
Wed Apr 13 09:06:46 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Other | 2.5.8-3 | Re: XML password files, replication & FreeBSD |
> Ok, i see, the problem for me now is that this attribute name has been in use for
> half a year or so by me. So now I have 100's of logbook entries with the old name
> in them, if I change it's name then all old logbook entries will show up with that
> field blank. I'm not sure if there's an easy way to change that attribute's name in
> 100's of entries in 10's of logbooks, because I wouldn't want to try doing that by
> hand.. Any ideas? (i'm no good at scripting something like that 4 sure)
find . -name "*a.log" -exec perl -pi -e 's|Work done at (dd/mm/yy hh:mm):|Work done at:|g' {} \;
Looks a bit cryptic, but searches for all *a.log files, and starts perl to replace
all occurences of "Work done at (dd/mm/yy hh:mm)" with "Word done at:". Better try
this first with a copy of your logbook. After you successfully changed that, you
have to modify the attribute list in elogd.cfg accordingly, like
Attirbutes = ..., Work done at, ...
Please note that after each manual modification of the logbook files, you have to
restart elogd. |
1083
|
Wed Apr 13 10:06:56 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | | Re: Conditional conditions? |
> Can conditional attributes be assigned as conditions?
Well, I guess the question was: "Can you implement this?" I'm sure that you
tried before.. (;-)
Yes, it is working now, I had to add some new code and fix a bug with AND'ed
conditions (via '&'). The new version is under CVS. Since you use Windows, you
have to wait for the next release. |
1086
|
Thu Apr 14 15:42:44 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.5.8-3 | Re: MIME encoding of mail? |
> What I can see is that it sends with charset=US-ASCII, even if the characters are
> non-US.
That's the key point. I changed it such that elog uses now the charset defined in the
configuration file, now it should work fine. Can you give it a try? The new version is
under CVS. |
1088
|
Fri Apr 15 15:25:30 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.5.8-3 | Re: MIME encoding of mail? |
So you tell me that the message body is ok with Norwegian characters, it's only the subject?
That would mean that outlook interpretes the charset only for the message body, but not for
the subject. So if you have characters with an ASCII value greater than 127, your mail
program requires to enclose it into
=?<charset>?B?+<text>?=
Do you know that the "B" is for? I would not like to "blindly" do whatever Mutt does, I
would like to understand it. If someone can point me to a document which describes this
properly, I could implement it. |
1089
|
Fri Apr 15 15:57:53 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.5.8-3 | Re: MIME encoding of mail? |
Ok, I found it. It's in RFC2047 at
http://www.faqs.org/rfcs/rfc2047.html
I will try to implement it. |
1090
|
Fri Apr 15 21:10:27 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.5.8-3 | Re: MIME encoding of mail? |
I implemented this, but found some problems. If I encode the subject like
Subject: =?ISO-8859-1?Q?ורז?=
it displays well unde MS Outlook, but not under Mozilla Thunderbird or pine,
which both display the full text (including the ISO...). So it looks like
there is no single solution which satisfies all mail programs. It should at
least work for Outlook and Thunderbird, so if anyone has an idea please let me
know. |
1091
|
Fri Apr 15 21:14:05 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.5.6-1 | Re: MIME encoding of mail? |
> Subject: Testing ורז
>
> Becomes
> Subject: IKT sak =?UNKNOWN?B?KDYwKTo=?= Testing =?UNKNOWN?B?5fjm?=
>
> config:
> Use Email Subject = IKT sak ($message id): $Tittel
You could put the encoding there manually:
Use Email Subject = =?ISO-8859-1?Q?IKT sak ($message id): $Tittel?=
would this work? |
1093
|
Fri Apr 15 21:49:00 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.5.8-3 | Re: MIME encoding of mail? |
> If I read the RFC correctly when you use B encoding you are using BASE64 encoding.
> Maybe that could be a solution?
Indeed it is. Works for all email programs I know. So I added that to elog, new
version is committed to CVS. Let me know if it works for you. |