how to use revMail with texts including accents (ex : in French)
André.Bisseret
Andre.Bisseret at inria.fr
Fri Oct 19 16:46:24 EDT 2007
Hi !
Mac OS X 10.4.10 ; Rev 2.8.1.
For several hours now, I have been trying to use
" revMail address,ccAddress,mailSubject,messageBody"
to allow the user to send a mail from Rev gathering data from fields.
I learned from a post on this list from Klaus Major (answering a
question about umlaut) that I should use :
put unidecode(the unicodeText of fld "tBody",UTF8) into tBody
So I use that (a bit like a magic I must confess !)
For a while I got an error from GLX2 when compiling ; (magic again
(for me), I declared "UTF8" as a global and then it compile without
any error message
Well, that works but only when I have not any accent (acute, grave,
circumflex, umlaut etc.) or quote ... in my texts.
As soon as, at least, one accent, (or quote...) is in the fields
that are used to complete the "Subject" or the "Body" of the
message, I get an empty message (only the mail address).
Any idea on what I am missing ? (some setting in Rev, or Mac, ??)
Thanks a lot in advance
Best regards from Grenoble
André
More information about the use-livecode
mailing list