473,395 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

MSSQL and UTF8

2
Hi,

I need one web site in UTF8 with MSSQL2005 (customer request)

Configuration:
IIS6+PHP5/Win2003 (Czech locales)--> MSSQL/Win2003
Database returns data in CP1250, rest is correct in UTF8.

I was tray Freetds. Config file I have in c:\freetds.conf, but IIS don't read it
(probably) and don't use 'client encoding = UTF-8'.

I was try ODBC and results are the same. I was try PDO, the same :(

This database in configuration:
Apache+PHP5/Linux --> MSSQL/Win2003
works without problem.

And the same web server:
IIS+PHP5/Win2003 --> MySQL/Linux
works too.

Do you have somebody any idea how to solve it?

thanks

J.
Dec 2 '06 #1
2 4944
vrba
2
solved.

NVARCHAR is required :)
Dec 4 '06 #2
i've the same problem but changing the datatype to nvarchar doesn't help. can you please shed some light on this.

i'm using freetds 8.0 to connect to mssql which works great but query fails when i search on the column having non english character like <méxico>

query doesn't get the resultset. when i try the same query in SQL query analyzer it fetches the result.

please help.

Best Regards
Hassan Ali
Nov 29 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: sinasalek | last post by:
i have a problem with MySQL 4.1.x and UTF8. in version 4.0, i'm using html forms with utf8 charset for inserting unicode strings. but in version 4.1.x it is not working! if i change the charset of...
7
by: mj | last post by:
Hello, thanks for the help. I am running a WinXP Pro w/ SP2 (my home computer, with ZoneAlarm firewall) Apache 2.0.52 MySQL 4.1.7 PHP 5.1.0-dev I have developed a PHP/MySQL web app that...
0
by: Kristian | last post by:
Hi Guys, I have a script that has to insert an var containing a html string into my microsoft sql server, and it keeps throwing the same error at me. DBD::ODBC::db do failed: Line 89:...
11
by: ralphie | last post by:
hi all since nearly 2 days i fight with mssql and utf-8 as i need to store and retrieve arabic characters. i tried the com approach ...
8
by: eugenio | last post by:
Hi...not sure if this is the right group for this posting, but i'm don't know where else to post. I've got a simple problem...I have a linux box running apache 2.0 and php5. I'm trying to use the...
5
by: eisenstein | last post by:
i read out an utf-8 xml file with greek or russian/cyrillic characters. i can display it in the browser but if i insert data into an mssql database -field is nvarchar(4000)- i only see ??? or...
2
by: =?iso-8859-1?B?RmFkpQ==?= | last post by:
Hello mates, Something weird is happening or it's just the fact that I'm doing something wrong. When use mssql for db connectivity, and then i call mssql_fetch_array, the values i get from the...
3
by: Shawn Beasley | last post by:
Hi List, I am searching franticly for a solution (or the procedure) to setting the coding of a new DB to UTF-8. I can find no setting in the Server Manager, during creation of the DB, to...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.