Skip to Content.
Sympa Menu

freetds - charset select (localize problem)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Adam" <adamer AT mail.ru>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: charset select (localize problem)
  • Date: Tue, 20 Feb 2001 09:00:01 -0500


I use PHP4(Linux redhat) with MSSQL7.0(WINNT4)
Everything works fine - i can make any sql queries if charecter codes in
that queries are less than 128.
But when i try to make

SELECT field1 FROM table1 WHERE field2='Ïðèâåò' (cp1251)

SQL Server write not "Ïðèâåò", it converts this word to upper (0-127)
codepage and writes. Then when i read from table, there is a rubbish.
Who make it ? FreeTDS or PHP4 ?
Why this happens ?
I dont know what to do, my site is standing...
help please!

Artem




Archive powered by MHonArc 2.6.24.

Top of Page