detect input text ...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joly me
    New Member
    • Apr 2007
    • 6

    detect input text ...

    Hello to all

    How can differ between the input text in JAVA program .

    I mean that if I want my program accepts english or arabic word.

    Is there any encoding can know that ?

    I think that I will used if statement to check is this word is arabic or english ..... etc.

    Thank U
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    None of the Arabic characters are in the Unicode range 'a' ... 'z' or 'A' ... 'Z'.

    kind regards,

    Jos

    Comment

    • Joly me
      New Member
      • Apr 2007
      • 6

      #3
      yah, I know if I put if statement accepts the words which contain ' a'. . . ' z' or ' A'. . . ' Z'. then my program will accepts just english words. But I want that my program knows chines language, arabic language ... etc.

      I think that - I'm not sure :) - some encoding like ISO , utf-8 can do that.


      kind regards,

      Joly

      Comment

      • Joly me
        New Member
        • Apr 2007
        • 6

        #4
        sorry for troubling

        I knew the solution. I do in Arabic character as english character. Java language supports that.


        got it :)

        Comment

        Working...