Re: charset problem
| From: | Filip De Graeve | Date: | Fri, 28 Mar 2003 18:38:08 +0000 |
| Subject: | Re: charset problem | ||
| References: | 1 2 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-526@lists.php.net to get a copy of this message | ||
this did not solve my problem in any case.
I did find a way to work around this though...
using obdc connection instead of the mssql_functions that
are provided through the php_mssql.dll library.
when u use that type of connection, the characters do get
inserted correctly.
kind regards,
"Moriyoshi Koizumi" <moriyoshi@at.wakwak.com> schreef in bericht
news:20030329002017lFCz5t@at.wakwak.com...
> Hi,
>
> I don't know anything about mssql, but as for htmlspecialchars() you have
> to pass a correct charset name to the function to get it working.
>
> Moriyoshi
>
> "Filip De Graeve" <filip.de.graeve@pandora.be> wrote:
>
> > 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
>