SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru afridy's Avatar
    Join Date
    Mar 2007
    Posts
    966
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    input box not accepting arabic numbers. only text.

    Hai folks,

    i use the windows language bar to switch between arabic and english typing.
    i am able to type arabic text in to html input box in my project.
    but when i type arabic nmbers, it's typed in English only. not in arabic.
    why is only input box accepting arabic text and does not numbers?


  2. #2
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    I would suspect it might be to do with the font or keyboard you are using or what characters the input was allowed to accept. I will presume you have set the language of the page and character set correctly in the markup. (٠‎ - ١‎ - ٢‎ - ٣‎ - ٤‎ - ٥‎ - ٦‎ - ٧‎ - ٨‎ - ٩‎)

  3. #3
    SitePoint Guru afridy's Avatar
    Join Date
    Mar 2007
    Posts
    966
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by xhtmlcoder View Post
    I would suspect it might be to do with the font or keyboard you are using or what characters the input was allowed to accept. I will presume you have set the language of the page and character set correctly in the markup. (٠‎ - ١‎ - ٢‎ - ٣‎ - ٤‎ - ٥‎ - ٦‎ - ٧‎ - ٨‎ - ٩‎)
    Hai xhtmlcorder

    it just an ordinary input box with no restriction in input being placed.
    i use the language bar in the system tray to switch between AR (Arabic Saudi arabia) and EN (English).
    The html header has declared UTF8

    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    see the problem here:


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •