A
Ahmad Abu-Raddad
Hey Guys,
I'm trying to display Arabic digits (Hindi) in a webapplication, I used the
CultureInfo class to change the current culture to Arabic as follows:
Dim oCultureInfo As New Globalization.CultureInfo("ar-QA", True)
Dim oNumberFormatInfo As New Globalization.NumberFormatInfo
System.Threading.Thread.CurrentThread.CurrentCulture = oCultureInfo
unfortunately that did not make the numbers display in Arabic, they are
still being displayed as (1234...).
I checked the regional settings and found out a property called Digit
Substitution that when changed to "National" displays all the numbers in
Arabic just the way I want.
but how can I change the digit substitution property of the current culture
in code using VB.NET?
if anyone help please do.
Thanks in advance
Ahmad Abu-Raddad
I'm trying to display Arabic digits (Hindi) in a webapplication, I used the
CultureInfo class to change the current culture to Arabic as follows:
Dim oCultureInfo As New Globalization.CultureInfo("ar-QA", True)
Dim oNumberFormatInfo As New Globalization.NumberFormatInfo
System.Threading.Thread.CurrentThread.CurrentCulture = oCultureInfo
unfortunately that did not make the numbers display in Arabic, they are
still being displayed as (1234...).
I checked the regional settings and found out a property called Digit
Substitution that when changed to "National" displays all the numbers in
Arabic just the way I want.
but how can I change the digit substitution property of the current culture
in code using VB.NET?
if anyone help please do.
Thanks in advance
Ahmad Abu-Raddad