Literal

# &u

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

Used to enter Unicode codepoints as `String</api/data_types/string>` literals.

## Usage

``` xojo
&uUnicodeValue
```

| Part         | Type                       | Description              |
|--------------|----------------------------|--------------------------|
| UnicodeValue | Unicode code point literal | A Unicode literal value. |

## Notes

To write a Unicode code point literal, precede the codepoint with <span class="title-ref">&u</span> and follow it with the hexadecimal value of the codepoint.

## Sample code

Assign a unicode codepoint:

``` xojo
Const kTab = &u09 ' the tab character
Const kLF = &u0A ' the LF character
```

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div class="seealso">

[Unicode Codepoint chart](http://www.utf8-chartable.de/)

</div>
