subject encoding in bug report
Here's a new beta build:
http://madshi.net/madCollectionBeta.exe
You can now set the undocumented variable "ForceUtf8" to "true". It's exported by madExcept.pas.
Do you know how I can check whether I must use Utf8 or not? I mean the normal encoding I've used until now did work quite fine for me - and it seems to be the default encoding normal email clients are using. So I'd like to keep using the old encoding, unless the subject contains chars which need Utf8. So it would be helpful if I could find out whether the subject I need to encode needs Utf8 or not. Any ideas?
http://madshi.net/madCollectionBeta.exe
You can now set the undocumented variable "ForceUtf8" to "true". It's exported by madExcept.pas.
Do you know how I can check whether I must use Utf8 or not? I mean the normal encoding I've used until now did work quite fine for me - and it seems to be the default encoding normal email clients are using. So I'd like to keep using the old encoding, unless the subject contains chars which need Utf8. So it would be helpful if I could find out whether the subject I need to encode needs Utf8 or not. Any ideas?
hi
thanks for this beta
should i just download and install it?
u wrote: "It's exported by madExcept.pas. "
but this release does not have source code, or does it?
where exactly can i ForceUtf8 property to TRUE?
regarding your question:
in order to be on the safe side
if the subject does not contain english characters
it should be converted to utf8
but mayb a property like u added is a good idea
(if i understood its purpose correctly)
thanks for this beta
should i just download and install it?
u wrote: "It's exported by madExcept.pas. "
but this release does not have source code, or does it?
where exactly can i ForceUtf8 property to TRUE?
regarding your question:
in order to be on the safe side
if the subject does not contain english characters
it should be converted to utf8
but mayb a property like u added is a good idea
(if i understood its purpose correctly)
Yes.emailaya wrote:thanks for this beta
should i just download and install it?
It's also exported by madExcept.dcu.emailaya wrote:u wrote: "It's exported by madExcept.pas. "
but this release does not have source code, or does it?
Just add "madExcept" to the uses clause and then do "ForceUtf8 := true". That's it.emailaya wrote:where exactly can i ForceUtf8 property to TRUE?
That's not true. If a subject only contained english characters, I wouldn't need to do ANY encoding. I could just use "Subject: bla bla". Why then use "=?ISO-8859-1?Q?" in the first place?emailaya wrote:regarding your question:
in order to be on the safe side
if the subject does not contain english characters
it should be converted to utf8
If I send an email via Thunderbird with only english chars, there's no encoding used at all. If I send an email with german umlauts, Thunderbird is using "=?ISO-8859-1?Q?". If I send en email with russian chars, Thunderbird is using UTF8. So there must be a way to find out which encoding is needed when.
u wrote: "That's not true" but then said the same as me
u wrote: So I'd like to keep using the old encoding, unless the subject contains chars which need Utf8
so if u want to be on the safe side, if a subject contains non english chars, convert it to utf8. if all subject is english chars, either do not encode anything or use the current default encoding iso_8859_1
there is a whole phylosophy about how to know which encoding to use
but UTF8 saves u lots of troubles and time
u wrote: So I'd like to keep using the old encoding, unless the subject contains chars which need Utf8
so if u want to be on the safe side, if a subject contains non english chars, convert it to utf8. if all subject is english chars, either do not encode anything or use the current default encoding iso_8859_1
there is a whole phylosophy about how to know which encoding to use
but UTF8 saves u lots of troubles and time
Well, my goal is to behave similar to the email clients. And they use UTF8 only if they absolutely have to. That is what I'm trying to achieve.
Sometimes my mail client asks "shall I use UTF8?", especially if I reply to a mail which was encoded with UTF8. So I'm a bit uneasy with using UTF8 by default. I don't want madExcept email receivers to get nasty questions about UTF8.
Sometimes my mail client asks "shall I use UTF8?", especially if I reply to a mail which was encoded with UTF8. So I'm a bit uneasy with using UTF8 by default. I don't want madExcept email receivers to get nasty questions about UTF8.
then u should read here for more information
http://synapse.ararat.cz/
http://synapse.ararat.cz/