473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

simple mail form

I am trying to create a simple mail form (i.e. five fields, the users pushes
send and using the mail function I get an email with their input values).
The problem is that some people will be filling out the form in Hebrew. When
someone fills out the form in Hebrew, I get an email with junk:

סT.רT "ת.ת & "Tס~.רT" Tour dates: 22,5,02 to 22,6,03 א .
ר.צTם ~T.o zע TTY .zT.-" '. עס.ק '"'רTם
ר'Tם - >z. >Y T>.o o"T.ת ש-" T"T" zT.-"
'zT .!

I have the Hebrew language stuff installed on my (winXP) machine and it
works fine in Word, Dreamweaver, IE, etc... Any thoughts?

Alex
Jul 17 '05 #1
4 3293
Alexander Ross wrote:
The problem is that some people will be filling out the form in Hebrew. When
someone fills out the form in Hebrew, I get an email with junk:

סT.רT "ת.ת & "Tס~.רT" Tour dates: 22,5,02 to 22,6,03 א .
ר.צTם ~T.o zע TTY .zT.-" '. עס.ק '"'רTם
ר'Tם - >z. >Y T>.o o"T.ת ש-" T"T" zT.-"
'zT .!

I have the Hebrew language stuff installed on my (winXP) machine and it
works fine in Word, Dreamweaver, IE, etc... Any thoughts?


You might want to limit your users to submitting a few characters sets

http://www.w3.org/TR/html4/interact/forms.html#h-17.3

<form accept-charset="utf-8,iso-8859-1,us-ascii" ...

I think the user-agent will convert hebrew to one of the above when
submitting, but I'm not sure it works.
--
--= my mail box only accepts =--
--= Content-Type: text/plain =--
--= Size below 10001 bytes =--
Jul 17 '05 #2
You're a wonderfull human being; one day people will write songs about you

"Pedro Graca" <he****@hotpop.com> wrote in message
news:c3*************@ID-203069.news.uni-berlin.de...
Alexander Ross wrote:
The problem is that some people will be filling out the form in Hebrew. When someone fills out the form in Hebrew, I get an email with junk:

סT.רT "ת.ת & "Tס~.רT" Tour dates: 22,5,02 to 22,6,03 א . ר.צTם ~T.o zע TTY .zT.-" '. עס.ק '"'רTם ר'Tם - >z. >Y T>.o o"T.ת ש-" T"T" zT.-"
'zT .!

I have the Hebrew language stuff installed on my (winXP) machine and it
works fine in Word, Dreamweaver, IE, etc... Any thoughts?


You might want to limit your users to submitting a few characters sets

http://www.w3.org/TR/html4/interact/forms.html#h-17.3

<form accept-charset="utf-8,iso-8859-1,us-ascii" ...

I think the user-agent will convert hebrew to one of the above when
submitting, but I'm not sure it works.
--
--= my mail box only accepts =--
--= Content-Type: text/plain =--
--= Size below 10001 bytes =--

Jul 17 '05 #3
Alexander Ross top-posted:
"Pedro Graca" <he****@hotpop.com> wrote in message
news:c3*************@ID-203069.news.uni-berlin.de...

<form accept-charset="utf-8,iso-8859-1,us-ascii" ... I think the user-agent will convert hebrew to one of the above when
submitting, but I'm not sure it works.

You're a wonderfull human being; one day people will write songs about you


hehehe, thanks :-)
Seems like it worked. Nice to know that.
--
USENET would be a better place if everybody read: ** mail address **
http://www.catb.org/~esr/faqs/smart-questions.html ** is valid for **
http://www.netmeister.org/news/learn2quote2.html ** "text/plain" **
http://www.expita.com/nomime.html ** to 10K bytes **
Jul 17 '05 #4
FYI for future readers of this post, it was Pedro's suggestion combined with
setting the right charset in the header of the email that did the trick.
"Pedro Graca" <he****@hotpop.com> wrote in message
news:c3*************@ID-203069.news.uni-berlin.de...
Alexander Ross top-posted:
"Pedro Graca" <he****@hotpop.com> wrote in message
news:c3*************@ID-203069.news.uni-berlin.de...
<form accept-charset="utf-8,iso-8859-1,us-ascii" ... I think the user-agent will convert hebrew to one of the above when
submitting, but I'm not sure it works.

You're a wonderfull human being; one day people will write songs about

you
hehehe, thanks :-)
Seems like it worked. Nice to know that.
--
USENET would be a better place if everybody read: ** mail address **
http://www.catb.org/~esr/faqs/smart-questions.html ** is valid for **
http://www.netmeister.org/news/learn2quote2.html ** "text/plain" **
http://www.expita.com/nomime.html ** to 10K bytes **

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Bruce W...1 | last post by:
In my effort to learn PHP I'm playing with some simple email scripts. They worked a few days ago but they stopped working. The only thing I've done to this Windows 2000 PC in this time was a...
6
by: Steve | last post by:
Hi All! I wonder if anyone could help me with the underlying logic of a problem I have. At the moment my working pages run like so ---------------------------------------------------------...
6
by: chuck amadi | last post by:
Hi , Im trying to parse a specific users mailbox (testwwws) and output the body of the messages to a file ,that file will then be loaded into a PostGresql DB at some point . I have read the...
8
by: sam1967 | last post by:
I know how to build forms with ASP and process user input. Now i want to take credit card payments via a form. i will then download the details and process them via our credit card machine. do...
6
by: Benny Alexander | last post by:
Hi, I am using a simple form 2 email program. I ama experienced programmer, But I feel very bad, as I am unable to fix this problem. All seems to be fine, But the mail is not reacing to my...
6
by: francisco lopez | last post by:
ok , first of all sorry if my english is not so good, I do my best. here is my problem: I dont know much javascript so I wrote a very simple one to validate a form I have on my webpage. ...
3
by: Yogi_Bear_79 | last post by:
I am building a stand alone html help system (.chm.) So the usual woes with mailto are not going to be encountered. Likewise I am ensured all my intended users have Outlook installed. With that...
19
by: Bill | last post by:
I have searched through the posts for a question like mine but have only found much more complicated responses. On single record view of a form I have an email address field. I merely want to...
5
by: simononestop | last post by:
Hi im totally new to perl this is my first go at using it (I normally use asp). I have set up a form with a cgi script from demon hosting. I have edited the script and the form works it sends me an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.