|
|
 |
| 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 computer programmers 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 programmers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
|
 |

June 18th, 2009, 06:08 AM
|
|
Registered User
|
|
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
codepage and UTF-8 on one page
Hi guys,
I've got utf-8 data from one table and codepage from another table, and I need to display both on one page.
Any ideas?
Last edited by Marianne : November 19th, 2009 at 06:58 AM.
|

June 18th, 2009, 04:14 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,354
Thanks: 3
Thanked 72 Times in 71 Posts
|
|
I dunno if it works with data from SQL Server, but you *could* try this:
Code:
Session.CodePage = 1253 ' or whatever
someVariable = RS("someFieldInCP1253")
Session.CodePage = 65001
anotherVariable = RS("someFieldInUnicode")
...
Used to work, 10 years ago, with MySQL database (and Access, I think...before Access went all Unicode). The recordset holds (held?) the data in raw database form and the assignment to the variable used the appropriate MBCS conversion, if needed.
A stab in the dark, and ancient technique. Good luck.
|

June 19th, 2009, 06:52 AM
|
|
Registered User
|
|
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Old Pendant, I will give it a go next time me and CodePage will cross paths 
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Codepage 1252 (Western) Issue? |
tclotworthy |
XSLT |
5 |
March 2nd, 2007 01:43 PM |
| Codepage |
minhtri |
Classic ASP Professional |
1 |
April 20th, 2005 05:16 AM |
| CODEPAGE="1252" |
crmpicco |
Javascript |
2 |
January 27th, 2005 10:22 AM |
| Codepage |
kochoo |
Classic ASP Basics |
1 |
April 24th, 2004 02:28 AM |
| Codepage Problem? |
birdcage |
Classic ASP XML |
2 |
October 21st, 2003 07:10 AM |
|
 |