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

Home Posts Topics Members FAQ

Problem when inserting Data using Arabic or Farsi Language

I have a web forms that I insert data in database using
arabic and Farsi language. The problem is when I insert a
record, A record is added but I get blank fields in the
columns. When I insert a record using English language,
everything is okay.

It is a language problem. Is there anyway I can set the
language of ASP .Net so that It knows that I am using
another language rather then English?

I am using MS Access in Windows XP professional.
Nov 18 '05 #1
2 2515
Have you tried setting it to use unicode?
Here's more info on the subject:
http://msdn.microsoft.com/library/de...gbasetypes.asp

Also, have you checked the Globalization section of the web.config?
Try changing it to something more like this:

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
<globalization
fileEncoding="iso-8859-1"
requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"
/>
</system.web>
</configuration>

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Fahad" <co*********@yahoo.com.please.no.junk> wrote in message
news:04****************************@phx.gbl...
I have a web forms that I insert data in database using
arabic and Farsi language. The problem is when I insert a
record, A record is added but I get blank fields in the
columns. When I insert a record using English language,
everything is okay.

It is a language problem. Is there anyway I can set the
language of ASP .Net so that It knows that I am using
another language rather then English?

I am using MS Access in Windows XP professional.

Nov 18 '05 #2
Thank You very much. It is working now.
-----Original Message-----
Have you tried setting it to use unicode?
Here's more info on the subject:
http://msdn.microsoft.com/library/default.asp? url=/library/en-us/cpguide/html/cpconencodingbasetypes.asp
Also, have you checked the Globalization section of the web.config?Try changing it to something more like this:

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
<globalization
fileEncoding="iso-8859-1"
requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"
/>
</system.web>
</configuration>

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able- consulting.com
"Fahad" <co*********@yahoo.com.please.no.junk> wrote in messagenews:04****************************@phx.gbl...
I have a web forms that I insert data in database using
arabic and Farsi language. The problem is when I insert a record, A record is added but I get blank fields in the
columns. When I insert a record using English language,
everything is okay.

It is a language problem. Is there anyway I can set the
language of ASP .Net so that It knows that I am using
another language rather then English?

I am using MS Access in Windows XP professional.

.

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5034
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...
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...
3
490
by: NohaKhalifa | last post by:
Hi All , I have a problem facing me using CDONTS Componet for sending mail . I have a form and i get data from it and send it to mail using CDONTS In HTML format . My Problem is that form...
3
2780
by: mostafa atalla | last post by:
Dear sirs: I'm making an application using C# and i connect through it to a database made by MSSQL server but i have a problem when inserting or updating in the database in arabic that each...
6
3085
by: Michelle Stone | last post by:
Hi I am doing a bilingual .NET application for English/Arabic. On a web form, I have some edit boxes for data entry in Arabic and some for entry in English. Right now the user has to change his...
3
1202
by: SOS | last post by:
hi guys ! i don't know is this a proper group for discussing about this problem or not .... anyway , i have a Flash news board in my asp.net page this news board get data from an aspx page and...
5
3680
by: althafexcel | last post by:
hi everyone Im trying to include an external js in my aspx page under the head tag, it doesn't load or it displays an object expected error whenver the function from the .js is called. Actually...
2
8901
by: Ch Pravin | last post by:
Hi All: I am having the following xml which i need to convert to excel using xslt. Please help me out. Afghanistan.xml <?xml version="1.0" encoding="utf-16"?> <Languages...
0
1613
by: SAM689532 | last post by:
I have DB2 v7.1.2 on IBM Z/OS and DB2 V8.1.0.36 Level ID 01010106 Build Level s021023 with JDK 1.3.1 on my Windows platform. I am trying to load some Arabic character data to our mainframe ...
0
7231
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
7336
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
7405
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...
1
7066
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5643
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5059
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
4724
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
3198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
435
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.