charset problem
| From: | Filip De Graeve | Date: | Thu, 27 Mar 2003 19:08:01 +0000 |
| Subject: | charset problem | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-522@lists.php.net to get a copy of this message | ||
Hello,
Using PHP 4.3.1 on a Windows 2k/Apache,i am trying to insert some text like
"Test é à ë" into a
MS SQL database.
The result I get using the query analyzer : Test Ú Þ Ù
is not the same as you can see for yourself.
However; ms sql supports those characters when i insert them directly into
the query analyzer.
My locales support those characters (.be locals), and i configured the
php.ini to support the iso-8859-1 charset
(and use the mssql dll extension).
What's also weird, is that the function htmlspecialchars has no effect on
the result, whilst htmlentities does have one; but then the
textfield looks like " Test é è ë " which wasn't
exactly
the point.
Can anybody give me any clue where to look or what to do?
thank you,
regards
Filip
filip@curious.be
--
Filip De Graeve
Information Architect
Curious ICT Solutions
G: +32 (0477) 63.90.77
F: +32 (09) 261.31.49
E: filip.de.graeve@curious.be
W: http://www.curious.be
**** DISCLAIMER ****
"This e-mail and any attachments thereto may contain information
which is confidential and/or protected by intellectual property
rights and are intended for the sole use of the recipient(s) named above.
Any use of the information contained herein (including, but not limited to,
total or partial reproduction, communication or distribution in any form)
by persons other than the designated recipient(s) is prohibited.
If you have received this e-mail in error, please notify the sender either
by telephone or by e-mail and delete the material from any computer.
Thank you for your cooperation."