J
John
Hi all,
actually I am facing a problem when open an email client with
window.open and cyrillic texts:
The situation:
function testMailTo() {
var subj = escape("some subject text in cyrillic");
var bod = escape("some body text in cyrillic");
window.open( 'mailto:[email protected]?subject='+subj
+'&body='+bod);
}
The text gets translated dynamically at server side. It works perfect
for French, German, Croatian, Czech and English. But as soon as I try
Cyrillic, the email client shows something like:
%u043D%u0456%u0442%u044C %u043D%u0430%u0441%u0442%u0443%u043F%u043D
%u0435 %u043F%u043E%u0441%u0438%u043B%u0430%u043D%u043D
for both the subject and the body text.
I absolutly have no idea what to do. Does anybody has an idea?
Thanks in advance
John
actually I am facing a problem when open an email client with
window.open and cyrillic texts:
The situation:
function testMailTo() {
var subj = escape("some subject text in cyrillic");
var bod = escape("some body text in cyrillic");
window.open( 'mailto:[email protected]?subject='+subj
+'&body='+bod);
}
The text gets translated dynamically at server side. It works perfect
for French, German, Croatian, Czech and English. But as soon as I try
Cyrillic, the email client shows something like:
%u043D%u0456%u0442%u044C %u043D%u0430%u0441%u0442%u0443%u043F%u043D
%u0435 %u043F%u043E%u0441%u0438%u043B%u0430%u043D%u043D
for both the subject and the body text.
I absolutly have no idea what to do. Does anybody has an idea?
Thanks in advance
John