473,320 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
Apr 27 '07 #1
3 1742
JosAH
11,448 Expert 8TB
None of the Arabic characters are in the Unicode range 'a' ... 'z' or 'A' ... 'Z'.

kind regards,

Jos
Apr 27 '07 #2
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
Apr 27 '07 #3
sorry for troubling

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


got it :)
Apr 28 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jeje | last post by:
Hi, I'm trying to detect if an input field is visible or not in order to put the focus inside it (or else it cause th error : "Can't move the focus ot the control because it is invisible, not...
2
by: delraydog | last post by:
Is there anyway to detect if scrollbars were made visible in a textarea? I'm not talking about initial setting of the scrolling attribute, but rather whether scrollbars have been added either...
3
by: jd | last post by:
I want to be able to detect all changes to an html input text field. I can catch keyboard events but I can't figure out what event gets triggered if the text was inserted in some other way -- for...
5
by: =?Utf-8?B?U2llZ2ZyaWVkIEhlaW50emU=?= | last post by:
I need to redundantly write C++ and C# programs to (1) determine the input language (german, french, english...) (2) determine changes in the input language (preferably a delegate rather than...
1
by: azura | last post by:
how can i get this textfield auto detect?? because i try not to using view name button... i want when i enterd this matric no., the student name will appear automatically when i insert the matric...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.