For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > October 2006 > Problem with Encoding(E-mail Newsletter)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with Encoding(E-mail Newsletter)
fisherrmann

2006-10-07, 7:33 pm

Hello From Greece!!!!!

I 'm a newbie at cgi and programing generally....
I read a guide and I 've programmed an
e-mail newsletter form(in html)...
Everything works fine when I fill the forms in English, but when I write in Gr(it's a Gr Website and I want names, addreses ect in gr characters) it writes ERROR 400, and a message tells me that ind the gap that i've wrotten in Gr is EMPTY!!!!!

I've tried to change the encoding of my html page, and of my txt file(that is placed at cgi-bin folder at my server) and I've noticed that:
-->with some encodings when I write in Gr it sends an e-mail with charakters that I don't recognise(Name:%q%1%tw% instead of Νίκος for example)
-->with some encodings when I write the name in gr it writes Error 400, but when I write the field in gr and i put a " or > or . or ! it sends me an e-mail with the correct name (in Gr) and the special character...

This is a problem for me and I have to fix it....Has anyone any idea???
What must I do???

Please help!!!!!
Thank you in advance for your help :-) :-)


Ps: Forgive me for my bad English!!!
If you wanna know any detail, just post and I'll answer!!!
fisherrmann

2006-10-07, 7:37 pm

quote:
Originally posted by fisherrmann
Hello From Greece!!!!!

I 'm a newbie at cgi and programing generally....
I read a guide and I 've programmed an
e-mail newsletter form(in html)...
Everything works fine when I fill the forms in English, but when I write in Gr(it's a Gr Website and I want names, addreses ect in gr characters) it writes ERROR 400, and a message tells me that ind the gap that i've wrotten in Gr is EMPTY!!!!!

I've tried to change the encoding of my html page, and of my txt file(that is placed at cgi-bin folder at my server) and I've noticed that:
-->with some encodings when I write in Gr it sends an e-mail with charakters that I don't recognise(Name:%q%1%tw% instead of Νίκος for example)
-->with some encodings when I write the name in gr it writes Error 400, but when I write the field in gr and i put a " or > or . or ! it sends me an e-mail with the correct name (in Gr) and the special character...

This is a problem for me and I have to fix it....Has anyone any idea???
What must I do???

Please help!!!!!
Thank you in advance for your help :-) :-)


Ps: Forgive me for my bad English!!!
If you wanna know any detail, just post and I'll answer!!!


That's the post without Smiles!!!!:-)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com