[PHP] is ' or different in MS-Word then ascII?

2004-01-14 Thread Roger Spears
Hello, This question may border on OT... I have a web form where visitors must enter large amounts of text at one time (text area). Once submitted, the large amount of text is stored as a CLOB in an Oracle database. Some of my visitors create their text in Ms-Word and then cut and paste it

Re: [PHP] is ' or different in MS-Word then ascII?

2004-01-14 Thread Marek Kilimajer
I don't know what the character is but if you paste it into the textarea, ord() will tell you. Roger Spears wrote: Hello, This question may border on OT... I have a web form where visitors must enter large amounts of text at one time (text area). Once submitted, the large amount of text is

Re: [PHP] is ' or different in MS-Word then ascII?

2004-01-14 Thread Roger Spears
Marek Kilimajer wrote: I don't know what the character is but if you paste it into the textarea, ord() will tell you. I have done some further testing. I created a form with a text area. When you hit submit, it just redisplays what ever you typed. Now, using this new test script if I cut

Re: [PHP] is ' or different in MS-Word then ascII?

2004-01-14 Thread Roger Spears
Marek Kilimajer wrote: I don't know what the character is but if you paste it into the textarea, ord() will tell you. When I run ord(), it returns the value of 19. I'm guessing that is a hex value. And when I look that up on the ascII table, it says: 19 DC3 (Device Control 3) For some

Re: [PHP] is ' or different in MS-Word then ascII?

2004-01-14 Thread Dagfinn Reiersøl
Roger Spears wrote: Marek Kilimajer wrote: I don't know what the character is but if you paste it into the textarea, ord() will tell you. When I run ord(), it returns the value of 19. I'm guessing that is a hex value. And when I look that up on the ascII table, it says: 19 DC3 (Device

RE: [PHP] is ' or different in MS-Word then ascII?

2004-01-14 Thread Williams, Olwen - SAL
I't the Word smart quotes. A bit of experimenting suggests ASCII 145 and 146 for single quotes and 147 and 148 for double quotes. I have the same problem with my forms, and for me they display okay in IE, but not in Mozilla. I must put some editing in place for this :-) Olwen Williams [EMAIL

Re: [PHP] is ' or different in MS-Word then ascII?

2004-01-14 Thread Tom Rogers
Hi, Thursday, January 15, 2004, 3:07:02 AM, you wrote: RS Hello, RS This question may border on OT... RS I have a web form where visitors must enter large amounts of text at one RS time (text area). Once submitted, the large amount of text is stored as RS a CLOB in an Oracle database. RS Some

Re[2]: [PHP] is ' or different in MS-Word then ascII?

2004-01-14 Thread Tom Rogers
Hi, Thursday, January 15, 2004, 10:41:57 AM, you wrote: TR Hi, TR Thursday, January 15, 2004, 3:07:02 AM, you wrote: RS Hello, RS This question may border on OT... RS I have a web form where visitors must enter large amounts of text at one RS time (text area). Once submitted, the large amount