20.5
java.lang.Character
THE PACKAGE JAVA.LANG
20.5.16
public static boolean isLetterOrDigit(char ch)
The result is
true
if and only if the character argument is a letter or digit.
A character is considered to be a letter or digit if and only if it is a defined
Unicode character ( 20.5.10) and its code lies in one of the following ranges:
0030
0039
ISO Latin 1 (and ASCII) digits (
0
9
)
0041
005A
ISO Latin 1 (and ASCII) uppercase Latin letters (
A Z
)
0061
007A
ISO Latin 1 (and ASCII) lowercase Latin letters (
a z
)
00C0
00D6
ISO Latin 1 supplementary letters
00D8
00F6
ISO Latin 1 supplementary letters
00F8
00FF
ISO Latin 1 supplementary letters
0100
1FFF
Latin extended A, Latin extended B, IPA extensions,
spacing modifier letters, combining diacritical marks, basic
Greek, Greek symbols and Coptic, Cyrillic, Armenian,
Hebrew extended A, Basic Hebrew, Hebrew extended B,
Basic Arabic, Arabic extended, Devanagari, Bengali,
Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada,
Malayalam, Thai, Lao, Basic Georgian, Georgian extended,
Hanguljamo, Latin extended additional, Greek extended
3040
9FFF
Hiragana, Katakana, Bopomofo, Hangul compatibility
Jamo, CJK miscellaneous, enclosed CJK characters and
months, CJK compatibility, Hangul, Hangul
supplementary A, Hangul supplementary B, CJK unified
ideographs
F900
FDFF
CJK compatibility ideographs, alphabetic presentation
forms, Arabic presentation forms A
FE70
FEFE
Arabic presentation forms B
FF10
FF19
Fullwidth digits
FF21
FF3A
Fullwidth Latin uppercase
FF41
FF5A
Fullwidth Latin lowercase
FF66
FFDC
Halfwidth Katakana and Hangul
It follows, then, that for Unicode 1.1.5 as corrected above, the Unicode letters
and digits are exactly those with codes in the following list, which contains both
single codes and inclusive ranges:
0030
0039
,
0041
005A
,
0061
007A
,
00C0
00D6
,
00D8
00F6
,
00F8
01F5
,
01FA
0217
,
0250
02A8
,
02B0
02DE
,
02E0
02E9
,
0300
0345
,
0360
0361
,
0374
0375
,
037A
,
037E
,
0384
038A
,
038C
,
038E
,
038F
03A1
,
03A3
03CE
,
03D0
03D6
,
03DA
03E2
,
03DA
,
03DC
,
03DE
,
03E0
,
03E2
03F3
,
0401
040C
,
040E
044F
,
0451
045C
,
045E
0486
,
0490
04C4
,
04C7
04C8
,
04CB
04CC
,
04D0
04EB
,
04EE
04F5
,
04F8
04F9
,
0531
0556
,
0559
055F
,
0561
0587
,
0589
,
05B0
05B9
,
05BB
05C3
,
05D0
05EA
,
05F0
05F4
,
480
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved