473,783 Members | 2,363 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3315
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
3108
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 Windows Update which I do regularly. The only part of this update that might be related was an IE 6 update. So I uninstalled and reinstaled PHP 4.3.3. The mail server setting is correct in the php.ini file. But email is still not being sent. ...
6
2070
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 --------------------------------------------------------- PAGE1: A form which gathers variables and POSTS them on to the next page. PAGE2: This page does a few simple calculations based on the variables gathered on PAGE1 and echoes the results to screen. It also contains a two
6
7749
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 email posts and been advised to use the email Module and mailbox Module. The blurb from a memeber of this list . Im not at work at the moment So I cant test this out , but if someone could take a look and check that im on the write track as this...
8
3924
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 i just create a regular ASP form and use a certificate on the server to encrypt the data ? ie https://server/getpaymentform.asp there is nothing special about the form is there ? it is just the same as the form i have been using for user input.
6
2241
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 mail box. Here is the code! The form has just three values!
6
2158
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. could you please have a look at the following script: ------------------------------------------------------------
3
2229
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 said This is what I want to do. I have a simple html form with a an radio button option group, a listmenu, a text box, and a text area. What I would like to do is have a user fill out this form, and hit a button that sends the results via...
19
2802
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 create a button that will email the same message (and idealy a word attachment) to whatever address is in view on the form (chances are that I just input it). For further explanation:
5
2307
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 email. however all the information is missing form the email I only get the first form text field?? #!/bin/perl # ------------------------------------------------------------
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10081
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6735
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.