470,587 Members | 2,248 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,587 developers. It's quick & easy.

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 2388
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by sinasalek | last post: by
1 post views Thread by NohaKhalifa | last post: by
3 posts views Thread by NohaKhalifa | last post: by
3 posts views Thread by mostafa atalla | last post: by
6 posts views Thread by Michelle Stone | last post: by
3 posts views Thread by SOS | last post: by
5 posts views Thread by althafexcel | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.