For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > August 2007 > Re: mssql versus odbc HELP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: mssql versus odbc HELP
FadĽ

2007-08-31, 8:24 am

On Aug 31, 3:57 am, Erwin Moller
< Since_humans_read_this_I_am_spammed_too_
m...@spamyourself.com> wrote:
> Fad=A5 wrote:
>
>
>
>
> Hi,
>
> This MUST have to do with charactersets.
> I am not an expert on this, but what you need to find out is this:
> 1) Find out in which characterset MS SQL server is using to store data.
> (eg: latin1, UTF8, etc)
> You should be able to find this in via your management thingy in MS SQL
> Server.
>
> 2) Make sure your output uses the same characterset.
>
> Problem is: a certain bytevalue (or possibly multiple bytes in case of
> unicode) is just a value. What character it represents depend on the
> characterset you use.
>
> Things might be more complicated, but I would start there with your
> research.
> Hope this helps you going.
> Check in here again to see if somebody with better knowledge of
> characterencoding than me has some hints. :-)
>
> Good luck
>
> Regards,
> Erwin Moller



I checked! the database is using latin1 collation. so as you said i
should check what charset mssql uses when it binds to a database.

Thanks Erwin

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com