#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    10
    Rep Power
    0

    Help for converting Arabic Numbers to english numbers


    Hi!!! All,

    I am developing a database driven website wherein I am using MS SQL Server as my backend and I am accessing this database through some forms. My problem is I want these forms to be filled in both in English and in Arabic as well as desired by the user.

    But the values that are to be inserted in the database should be english only. That is I want to convert these arabic numbers that the user enters, into their corresponding english numerals and then insert them in the database.

    Is this possible in ASP or should it be done on the database side. Please let me know.

    Any help would be greatly appreciated.
  2. #2
  3. No Profile Picture
    I am here to share knowledge
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Location
    India
    Posts
    83
    Rep Power
    12
    I think that you have to covert them manually in your asp code, this thing can be done at backend, you have to take the input in an array, then digit by digit covert it into the another array and then save it to data base.

    Rahul
    Rahul

    Small things lead to perfection and perfection is not a small thing.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2014
    Posts
    2
    Rep Power
    0
    Hello

    I suggest you to insert english numeric values in your database. At the time of retrieving, you can retrieve the data as per your needs.

    Replace integers arabic characters using sql function

IMN logo majestic logo threadwatch logo seochat tools logo