Re: is ' or " different in MS-Word then ascII?
| From: | Dagfinn Reiersøl | Date: | Wed, 14 Jan 2004 20:25:09 +0000 |
| Subject: | Re: is ' or " different in MS-Word then ascII? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174583@lists.php.net to get a copy of this message | ||
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 Control 3) For some reason when it retrieves the CLOB from the database it is converting any " that were created with MS-Word into this DC3 character.According to the table at: http://www.bbsinc.com/iso8859.html the start quote character in the Windows Latin-1 character set is hex 93 = hex 80 + 13 = decimal 128 + 19. So it seems the 8-bit character has lost its highest bit and become a 7-bit character.
Strange indeed....Stranger things have happened...
Thanks, R