Re: charset problem
| From: | Moriyoshi Koizumi | Date: | Fri, 28 Mar 2003 15:20:17 +0000 |
| Subject: | Re: charset problem | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-525@lists.php.net to get a copy of this message | ||
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