Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Databases
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 29th, 2003, 07:12 AM
Registered User
Join Date: Sep 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default inserting utf-8 data using ado recordset to ms sql

hi all,

My script gets input form a form with UTF-8 charset and wants to save the fields in database using adodb recordset and addnew method (NOT using SQL INSERT). i have charset=utf-8(client-side) and session.codepage=65001 in my asp file. it works fine with MS access but when it comes to MS SQL 7 or 2000, even i have nchar data type(unicode support) in my table , the ??? characters inserted in db instead of actual input. the cause is that MS SQL default encoding is not UTF-8,so MSDN recommends using "N" prefix with INSERT commands and it works. now the question is that is there any possible solution to ADODB recordset addnew or update methods to work with UTF-8 data in MS SQL enviroment?

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
inserting images in ms sql server using query anal connect2sandep SQL Server 2000 2 July 24th, 2005 04:41 PM
Inserting data into MS Acess "Urgent Help needed" todeepu Access 2 May 10th, 2004 09:24 AM
ADO Recordset and SQL Statements Dataman Access VBA 4 March 21st, 2004 06:19 PM
ADO/SQL Server RecordSet and the OrderBy Property Dataman Access 3 February 9th, 2004 11:11 AM
recordset ms sql staafoz Classic ASP Databases 2 October 31st, 2003 02:05 AM

All times are GMT -4. The time now is 10:54 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.