Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle ASP
|
Oracle ASP Using ASP with Oracle databases. For Oracle discussions not specific to ASP, please see the Oracle forum. For more ASP discussions, please see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 19th, 2005, 11:38 AM
Registered User
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem in writting arabic characters using asp

hi,
I am facing a problem in one client.Their the nls_lang of the database is american_america.we8iso8859p1.When I tried to insert arabic
characters from asp(active server pages) it is getting inserted as "????".In the sql statement the arabic characters are coming properly.
The same sql statement if we copy and execute in sql plus the same command it will work properly .

In my office I have installed oracle 9i database and enabled arabic
in both the client side and serever side in office it is working properly the only difference in office and client the database characterset in office is american_america.ar8mswin1256 where as in
client siteit is american_america.we8iso8859p1.In ohb if they change the database character set to ar8mswin1256 it will work properly but they will not change the current characterset we8iso8859p1 to ar8mswin1256

please help me to sort out the issue
how to sort out the issue


regards


 
Old February 27th, 2006, 08:29 AM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to motivator21 Send a message via Yahoo to motivator21
Default

Either use the datatype as nChar, nVarchar or nText for unicode characters or change the collation to Arabic_BIN from database table design

 
Old May 13th, 2006, 01:10 AM
Registered User
 
Join Date: May 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi please i am facing the same problem ,
please helpppp meeee
thanks

 
Old August 11th, 2006, 09:59 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

cfr.
http://msdn.microsoft.com/library/de...bicsupport.asp

"When using Unicode data types, you can prevent corruption of your Arabic data in English collations by prefixing your Arabic string with "N"

eg.
UPDATE TableName SET ColumnName = N'Arabic Text' WHERE id = 1000
INSERT INTO TableName (ColumnName) values(N'Arabic Text')





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in saving arabic charcters from asp sobia Oracle ASP 1 May 11th, 2006 05:54 AM
Arabic characters messy like ????? c00645614 ASP.NET 1.0 and 1.1 Basics 0 March 2nd, 2006 11:24 PM
Problem in writting arabic characters using asp sobia Oracle ASP 0 November 19th, 2005 11:37 AM
Enabling Arabic characters in ASP.NET-Oracle Appli abinashpatra ASP.NET 1.0 and 1.1 Basics 0 November 8th, 2005 12:21 AM
ASP E-mail problem with non-Latin characters nikosdra Classic ASP Components 1 July 25th, 2004 10:19 PM





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