# UCharacterEnums.ECharacterCategory

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Constants](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#constants)  

# UCharacterEnums.ECharacterCategory

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/icu/lang/UCharacterEnums.ECharacterCategory "View this page in Kotlin")\|Java

`
public
static


interface
UCharacterEnums.ECharacterCategory
`  
`


`

|-----------------------------------------------------|
| android.icu.lang.UCharacterEnums.ECharacterCategory |

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [UCharacter](https://developer.android.com/reference/android/icu/lang/UCharacter),[UCharacterCategory](https://developer.android.com/reference/android/icu/lang/UCharacterCategory) |---------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [UCharacter](https://developer.android.com/reference/android/icu/lang/UCharacter)                 | **\[icu enhancement\]** ICU's replacement for[Character](https://developer.android.com/reference/java/lang/Character). Methods, fields, and other functionality specific to ICU are labeled '**\[icu\]**'. | | [UCharacterCategory](https://developer.android.com/reference/android/icu/lang/UCharacterCategory) | Enumerated Unicode category types from the UnicodeData.txt file.                                                                                                                                           | |

<br />

*** ** * ** ***

'Enum' for the CharacterCategory constants. These constants are compatible in name**but not in value** with those defined in[Character](https://developer.android.com/reference/java/lang/Character).  
**See also:**

- [UCharacterCategory](https://developer.android.com/reference/android/icu/lang/UCharacterCategory)

## Summary

|                                                                                                                    ### Constants                                                                                                                    ||
|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `byte` | [COMBINING_SPACING_MARK](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#COMBINING_SPACING_MARK) Character type Mc                                                                              |
| `byte` | [CONNECTOR_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#CONNECTOR_PUNCTUATION) Character type Pc                                                                                |
| `byte` | [CONTROL](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#CONTROL) Character type Cc                                                                                                            |
| `byte` | [CURRENCY_SYMBOL](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#CURRENCY_SYMBOL) Character type Sc                                                                                            |
| `byte` | [DASH_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#DASH_PUNCTUATION) Character type Pd                                                                                          |
| `byte` | [DECIMAL_DIGIT_NUMBER](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#DECIMAL_DIGIT_NUMBER) Character type Nd                                                                                  |
| `byte` | [ENCLOSING_MARK](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#ENCLOSING_MARK) Character type Me                                                                                              |
| `byte` | [END_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#END_PUNCTUATION) Character type Pe                                                                                            |
| `byte` | [FINAL_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#FINAL_PUNCTUATION) Character type Pf                                                                                        |
| `byte` | [FINAL_QUOTE_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#FINAL_QUOTE_PUNCTUATION) Character type Pf This name is compatible with java.lang.Character's name for this type.     |
| `byte` | [FORMAT](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#FORMAT) Character type Cf                                                                                                              |
| `byte` | [GENERAL_OTHER_TYPES](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#GENERAL_OTHER_TYPES) Character type Cn Not Assigned (no characters in \[UnicodeData.txt\] have this property)             |
| `byte` | [INITIAL_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#INITIAL_PUNCTUATION) Character type Pi                                                                                    |
| `byte` | [INITIAL_QUOTE_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#INITIAL_QUOTE_PUNCTUATION) Character type Pi This name is compatible with java.lang.Character's name for this type. |
| `byte` | [LETTER_NUMBER](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#LETTER_NUMBER) Character type Nl                                                                                                |
| `byte` | [LINE_SEPARATOR](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#LINE_SEPARATOR) Character type Zl                                                                                              |
| `byte` | [LOWERCASE_LETTER](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#LOWERCASE_LETTER) Character type Ll                                                                                          |
| `byte` | [MATH_SYMBOL](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#MATH_SYMBOL) Character type Sm                                                                                                    |
| `byte` | [MODIFIER_LETTER](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#MODIFIER_LETTER) Character type Lm                                                                                            |
| `byte` | [MODIFIER_SYMBOL](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#MODIFIER_SYMBOL) Character type Sk                                                                                            |
| `byte` | [NON_SPACING_MARK](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#NON_SPACING_MARK) Character type Mn                                                                                          |
| `byte` | [OTHER_LETTER](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#OTHER_LETTER) Character type Lo                                                                                                  |
| `byte` | [OTHER_NUMBER](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#OTHER_NUMBER) Character type No                                                                                                  |
| `byte` | [OTHER_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#OTHER_PUNCTUATION) Character type Po                                                                                        |
| `byte` | [OTHER_SYMBOL](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#OTHER_SYMBOL) Character type So                                                                                                  |
| `byte` | [PARAGRAPH_SEPARATOR](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#PARAGRAPH_SEPARATOR) Character type Zp                                                                                    |
| `byte` | [PRIVATE_USE](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#PRIVATE_USE) Character type Co                                                                                                    |
| `byte` | [SPACE_SEPARATOR](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#SPACE_SEPARATOR) Character type Zs                                                                                            |
| `byte` | [START_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#START_PUNCTUATION) Character type Ps                                                                                        |
| `byte` | [SURROGATE](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#SURROGATE) Character type Cs                                                                                                        |
| `byte` | [TITLECASE_LETTER](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#TITLECASE_LETTER) Character type Lt                                                                                          |
| `byte` | [UNASSIGNED](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#UNASSIGNED) Unassigned character type                                                                                              |
| `byte` | [UPPERCASE_LETTER](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#UPPERCASE_LETTER) Character type Lu                                                                                          |

## Constants

### COMBINING_SPACING_MARK

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte COMBINING_SPACING_MARK
```

Character type Mc

<br />

Constant Value: 8 (0x00000008)  

### CONNECTOR_PUNCTUATION

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte CONNECTOR_PUNCTUATION
```

Character type Pc

<br />

Constant Value: 22 (0x00000016)  

### CONTROL

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte CONTROL
```

Character type Cc

<br />

Constant Value: 15 (0x0000000f)  

### CURRENCY_SYMBOL

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte CURRENCY_SYMBOL
```

Character type Sc

<br />

Constant Value: 25 (0x00000019)  

### DASH_PUNCTUATION

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte DASH_PUNCTUATION
```

Character type Pd

<br />

Constant Value: 19 (0x00000013)  

### DECIMAL_DIGIT_NUMBER

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte DECIMAL_DIGIT_NUMBER
```

Character type Nd

<br />

Constant Value: 9 (0x00000009)  

### ENCLOSING_MARK

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte ENCLOSING_MARK
```

Character type Me

<br />

Constant Value: 7 (0x00000007)  

### END_PUNCTUATION

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte END_PUNCTUATION
```

Character type Pe

<br />

Constant Value: 21 (0x00000015)  

### FINAL_PUNCTUATION

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte FINAL_PUNCTUATION
```

Character type Pf

<br />

**See also:**

- [FINAL_QUOTE_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#FINAL_QUOTE_PUNCTUATION)

Constant Value: 29 (0x0000001d)  

### FINAL_QUOTE_PUNCTUATION

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte FINAL_QUOTE_PUNCTUATION
```

Character type Pf This name is compatible with java.lang.Character's name for this type.

<br />

**See also:**

- [FINAL_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#FINAL_PUNCTUATION)

Constant Value: 29 (0x0000001d)  

### FORMAT

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte FORMAT
```

Character type Cf

<br />

Constant Value: 16 (0x00000010)  

### GENERAL_OTHER_TYPES

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte GENERAL_OTHER_TYPES
```

Character type Cn Not Assigned (no characters in \[UnicodeData.txt\] have this property)

<br />

Constant Value: 0 (0x00000000)  

### INITIAL_PUNCTUATION

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte INITIAL_PUNCTUATION
```

Character type Pi

<br />

**See also:**

- [INITIAL_QUOTE_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#INITIAL_QUOTE_PUNCTUATION)

Constant Value: 28 (0x0000001c)  

### INITIAL_QUOTE_PUNCTUATION

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte INITIAL_QUOTE_PUNCTUATION
```

Character type Pi This name is compatible with java.lang.Character's name for this type.

<br />

**See also:**

- [INITIAL_PUNCTUATION](https://developer.android.com/reference/android/icu/lang/UCharacterEnums.ECharacterCategory#INITIAL_PUNCTUATION)

Constant Value: 28 (0x0000001c)  

### LETTER_NUMBER

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte LETTER_NUMBER
```

Character type Nl

<br />

Constant Value: 10 (0x0000000a)  

### LINE_SEPARATOR

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte LINE_SEPARATOR
```

Character type Zl

<br />

Constant Value: 13 (0x0000000d)  

### LOWERCASE_LETTER

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte LOWERCASE_LETTER
```

Character type Ll

<br />

Constant Value: 2 (0x00000002)  

### MATH_SYMBOL

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte MATH_SYMBOL
```

Character type Sm

<br />

Constant Value: 24 (0x00000018)  

### MODIFIER_LETTER

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte MODIFIER_LETTER
```

Character type Lm

<br />

Constant Value: 4 (0x00000004)  

### MODIFIER_SYMBOL

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte MODIFIER_SYMBOL
```

Character type Sk

<br />

Constant Value: 26 (0x0000001a)  

### NON_SPACING_MARK

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte NON_SPACING_MARK
```

Character type Mn

<br />

Constant Value: 6 (0x00000006)  

### OTHER_LETTER

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte OTHER_LETTER
```

Character type Lo

<br />

Constant Value: 5 (0x00000005)  

### OTHER_NUMBER

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte OTHER_NUMBER
```

Character type No

<br />

Constant Value: 11 (0x0000000b)  

### OTHER_PUNCTUATION

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte OTHER_PUNCTUATION
```

Character type Po

<br />

Constant Value: 23 (0x00000017)  

### OTHER_SYMBOL

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte OTHER_SYMBOL
```

Character type So

<br />

Constant Value: 27 (0x0000001b)  

### PARAGRAPH_SEPARATOR

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte PARAGRAPH_SEPARATOR
```

Character type Zp

<br />

Constant Value: 14 (0x0000000e)  

### PRIVATE_USE

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte PRIVATE_USE
```

Character type Co

<br />

Constant Value: 17 (0x00000011)  

### SPACE_SEPARATOR

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte SPACE_SEPARATOR
```

Character type Zs

<br />

Constant Value: 12 (0x0000000c)  

### START_PUNCTUATION

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte START_PUNCTUATION
```

Character type Ps

<br />

Constant Value: 20 (0x00000014)  

### SURROGATE

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte SURROGATE
```

Character type Cs

<br />

Constant Value: 18 (0x00000012)  

### TITLECASE_LETTER

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte TITLECASE_LETTER
```

Character type Lt

<br />

Constant Value: 3 (0x00000003)  

### UNASSIGNED

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte UNASSIGNED
```

Unassigned character type

<br />

Constant Value: 0 (0x00000000)  

### UPPERCASE_LETTER

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final byte UPPERCASE_LETTER
```

Character type Lu

<br />

Constant Value: 1 (0x00000001)