Do not tell me how to implement sending messages using mailto
with the condition that Russian letters are inserted into the body
parameter? At the moment, instead of the body of the letter in the OutLook inserted incomprehensible characters.
- Can you explain in more detail? From my knowledge, I can say that mailto is a hyperlink to send a letter to a specific mailbox. Ie mailto: blabla@mail.ru body parameter? Am I thinking about <body> or not? - Dmitry Alekseevich
- looked at the coding? - LeD4eG
- then the author, save your UTF-8 encoding file via notepad and write <meta http-equiv = "Content-Type" content = "text / html; <charset = UTF-8" /> - Dmitry Alekseevich
|
2 answers
In theory, the mailto link text should be created based on RFC 2047 , that is, in the form
=?charset?encoding?encoded text?=
Although Outlook still does not show the text in Latin. You can try directly encode as a URL
<a href='mailto:to@mail.com?subject=%D2%E5%EC%E0&body=%D2%E5%EA%F1%F2'>ссылка</a>
|
Actually, the author of the question of rights is the ability to set both the body and the header of the letter:
<a href="mailto:адрес&subject=тема&body=тело письма">Отправить!</a>
but in order to maintain Cyrillic this web page must be saved in utf-8 encoding!
- Author click on the check mark next to the answer atoms your question hangs in unanswered - Rules
|