How to deal with numbers(Araabic/Hindi) in application??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All
My application can accept user input in any language say for example Arabic. If the user enters Arabic Numbers/ DateTimes, how to convert them into english to perform the business logic on the server. I feel this is not possible and user can only enter numbers/datetimes in english. Am i right???? Please help. Thanx in advance.
 
Hi,

I wouldn't say it's not possible, it just requires more work. There's an
article in MSDN titled "Parsing Unicode Digits" that might be helpful. You
can also find these MSDN topics helpful:

"Formatting Numeric Data for a Specific Culture"
"Formatting Date and Time for a Specific Culture"

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

faktujaa said:
Hi All,
My application can accept user input in any language say for example
Arabic. If the user enters Arabic Numbers/ DateTimes, how to convert them
into english to perform the business logic on the server. I feel this is not
possible and user can only enter numbers/datetimes in english. Am i
right???? Please help. Thanx in advance.
 
Back
Top