NetTalk E-Mail > E-Mail - Ask For Help
Subject Problem
Alberto:
Hi,
I´m sendig mails from my site the way the example like:
loc:result = SendEmail('server smtp',25,'from',USU:EMAIL,p_web.Translate('Global Medic Registration'),'','','',......
All is ok but... when I translate to spanish the word _Registración_ appears in the arrived email as _Registracisn_ changing the ó by an s.
This happens only in the _Subject_, the same translation looks ok in the HTML body.
How can I solve it?
Thanks
Alberto
Robert Iliuta:
Hallo Alberto,
Did you set the default non-unicode language to Spanish ? I solve this
problem after I set the default language for non-unicode to Romanian.
Control Panel > Regional and Language Options > Advanced > here select the
language.
In my case solved the problem. I don't think it's a problem from NT.
Regards,
Robert Iliuta
Alberto:
Mhhh, may be, the problem is this is used in a web server, there are users
of many languages, the Subject is translated in runtime.
I cant change the server regional language each time an email is sent.
Thanks
Bruce:
Sean Says:
NetTalk allows you to specify the encoding that you are using to send mails
in. The default is 'us-ascii', but you can also use 'iso-8859-1' or 'utf-8'.
You can set both the character set and the text encoding used. For example
you can use 'utf-8' as the character set and 'quoted-printable' as the text
encoding to allow any character sets to be sent, and just setting the
character set to 'iso-8859-1' may work in your case.
Roberto Says:
in you sendemail window inside the -Control Events/?EmailSend/Accepted
embed after generated code, just add the following line
ThisSendEmail.OptionsMimeTextCharset = 'iso-8859-1'
That should let you work in any characterset
seancameron:
This doesn't apply to the Subject line, which doesn't support character sets outside of ASCII. There is a workaround in later versions of the SMTP specification for this that provides multiple encodings within the Subject, however it is not currently supported by NetTalk.
Navigation
[0] Message Index
[#] Next page
Go to full version