how to use revMail with texts including accents (ex : in French)
Andre Garzia
andre at andregarzia.com
Fri Oct 19 17:17:01 EDT 2007
Bon soir André,
the UTF8 part needs to be quoted, that parameter is a string.
it should be:
put unidecode(the unicodeText of fld "tBody","UTF8") into tBody
cheers
andre
On 10/19/07, André.Bisseret <Andre.Bisseret at inria.fr> wrote:
> 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é
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list