473,508 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Saving Arabic words into a database

11 New Member
I have a database with column of type nvarchar , to let me insert Arabic words, but when insert using the asp code the insertion appear wron in DB (sql server 2005)

Expand|Select|Wrap|Line Numbers
  1. Open_User_ID = session("UserId") RPT_USER_ID = request("RepId") TCKT_SEVERITY_ID = request("severity") TCKT_DESC = replace(request("Desc"),"'","''") TCKT_SUB_PRJ_ID = REQUEST("SubPrjId")
  2.  
  3. SQL="insert into TCKTs (TCKT_DESC, TCKT_SEVERITY_ID, Open_User_ID, RPT_USER_ID, TCKT_SUB_PROJ_ID) values ('"&TCKT_DESC&"', '"&TCKT_SEVERITY_ID&"', '"&Open_User_ID&"', '"&RPT_USER_ID&"', '"&TCKT_SUB_PRJ_ID&"')" DBConn.Execute(SQL)
when check the database I found the column TCKT_DESC display something like that
هاااااااااا&#;ااااي
Jan 13 '09 #1
1 2647
jhardman
3,406 Recognized Expert Specialist
Try converting the characters to binary before storing them in the db, then when displaying, convert them back to characters. The column type should be binary or blob. Let me know if this helps.

Jared
Jan 13 '09 #2

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

Similar topics

2
7448
by: zahid | last post by:
Hello, Dear Friends, I have to make such type of interface,you can say it a html form. in which a admin can write arabic data and can insert that data or recordsin database in ASP. and i have to...
1
3971
by: NohaKhalifa | last post by:
Dear All , I have a very big problem regarding using Arabic Character set . I'm Developing an Arabic Web Site using Asp and connecting to Access Database . but i have a problem retreiving data...
17
8319
by: thinkfirst | last post by:
Hello CIWAH ... I want to propose full internationalization of three related websites: http://africadatabase.org/ http://people.africadatabase.org/ http://institutions.africadatabase.org/ My...
18
9550
by: j1c | last post by:
What do I need to do in my ASP pages to display Arabic content? Does anything need to be done to the webserver too ? tx
0
453
by: bvcbb | last post by:
Dear all I am supposed to develop a world ready application in C# 2003 (which will run in xp) which should aupport Arabic & Hebrew also. My doubts(Fears) are: 1. Do i have to create all the...
0
1604
by: Garrek | last post by:
I have an existing ASP.Net application that must be modified to support mixed content: Latin-based languages (i.e. English) intermixed with Arabic. Our code and database assumes everything is...
1
4834
by: jrs_14618 | last post by:
Hello All, This post is essentially a reply a previous post/thread here on this mailing.database.myodbc group titled: MySQL 4.0, FULL-TEXT Indexing and Search Arabic Data, Unicode I was...
1
1604
by: devp | last post by:
Hi friends, I store some arabic words to database. i want it back to be displayed in as arabic in the webpage(its actually a asp page). How can i store it in databse or display it in textbox...
2
16413
by: farukcse | last post by:
Dear Sir, I have a PHP script that export CSV with arabic text, for example I download the CSV on the website then save to desktop of my computer and Open it on NOTEPAD... that works fine I could...
0
7326
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
7385
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
7498
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...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3195
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1558
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.