Gossamer Forum
Home : Products : Links 2.0 : Customization :

Send e-mails in Cyrillic (Win1251 or Koi-8)

Quote Reply
Send e-mails in Cyrillic (Win1251 or Koi-8)
Hi all,
Can anybody help me with following problem
All E-mails which Links sends after adding or modifying resource in plain text and if people inputing information in russian, in my case , they are unreadable.
I tried to add HTML codes for outgoing messages "Content-Type: text/plain; charset=KOI8-r" in add.cgi, modify.cgi and nph_build.cgi but with no success.

What can I do more to solve encoding problem.

Thanks in advance for your help

Quote Reply
Re: Send e-mails in Cyrillic (Win1251 or Koi-8) In reply to
Did you try the following codes?

Code:

print "Content-Type: text/plain charset=KOI8-r";


Regards,

Eliot Lee
Quote Reply
Re: Send e-mails in Cyrillic (Win1251 or Koi-8) In reply to
Thank Eliot,
I tried this, but again with no success.
I think, problem is in Mailer.pm. I tried to add this code in sub send_sendmail
print $s "Content-Type: text/plain; charset=koi8-r";, but also failed.

Any other solution?

Thanks in advance

Quote Reply
Re: Send e-mails in Cyrillic (Win1251 or Koi-8) In reply to
The problem is with the semi-colon...in laymens terms...the semi-colon denotes END of Perl lines! You cannot use two of them in the same statement between operators without using escape character \ and in this incidence, that will not work either....

Try the following:

Code:

print "Content-Type: charset=koi8-r";


Best of luck finding a solution!

Regards,

Eliot Lee
Quote Reply
Re: Send e-mails in Cyrillic (Win1251 or Koi-8) In reply to
Thanks Eliot. No luck again.
But i am not going to give up. I will think about it.


Quote Reply
Re: Send e-mails in Cyrillic (Win1251 or Koi-8) In reply to
Search http://www.perl.com for info!

Regards,

Eliot Lee
Quote Reply
Re: Send e-mails in Cyrillic (Win1251 or Koi-8) In reply to
Thanks a lot Eliot.
You are the engine of this forum.

Quote Reply
Re: Send e-mails in Cyrillic (Win1251 or Koi-8) In reply to
You're welcome...sorry I don't know the answer to your request.

Regards,

Eliot Lee