Re: charset problem

From: Date: Fri, 28 Mar 2003 12:34:14 +0000
Subject: Re: charset problem
References: 1 2  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-524@lists.php.net to get a copy of this message
I also found out that when u try to enter Ú Þ Ù into the database, you get + Ì + so I am quite sure this is some kind of problem regarding encoding or the dll interface between php and ms sql... any ideas? anyone? "Filip De Graeve" <filip.de.graeve@pandora.be> schreef in bericht news:20030328122730.95962.qmail@pb1.pair.com... > Trying to write the string "é ë è" into the MS SQL Server : > é ë è results into Ú Þ Ù > é ë è results into Ú Þ Ù using htmlentities > é ë è results into &eacute; &egrave; &euml; using htmlspecialchars > é ë è results into %E9%20%E8%20%EB using rawlurlencode > > The charset ISO-8859-1 (western europe) is supported > in my apache, php, and on the global win 2K system. > (it's native!) > > Any other clues ? > Cheers! > > "Filip De Graeve" <filip.de.graeve@pandora.be> schreef in bericht > news:20030327190757.30827.qmail@pb1.pair.com... > > 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 &eacute; &egrave; &euml; " 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." > > > > > > > >

« previous php.i18n (#524) next »