> For the complete documentation index, see [llms.txt](https://educacion.gitbook.io/programacion/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://educacion.gitbook.io/programacion/ud1-introduccion-a-programacion/execucion-secuencial/tipos-de-datos/caracteres-unicode-hexadecimal.md).

# Caracteres Unicode Hexadecimal

Unicode hexadecimal es la representación de un punto de código Unicode —el número único que identifica a cada carácter— utilizando el sistema numérico hexadecimal (base 16) en lugar del sistema decimal. Se suele escribir en el formato `U+xxxx`, donde `U+` indica que es un punto de código Unicode y `xxxx` son los dígitos hexadecimales que representan el carácter. Por ejemplo, la letra mayúscula 'A' tiene el punto de código hexadecimal `U+0041`

{% hint style="warning" %}
Unicode: <https://en.wikipedia.org/wiki/List_of_Unicode_characters>
{% endhint %}

Alguns exemplos de codificación hexadecimal:

```java
// Na codificación hexadecimal cada cifra pode tomar 16 valores:
// Cifras hexadecimales: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
//F37A => OK
//32GA => KO
char c;
//Signos de puntuación y simbolos: 0020 a 002F
c = '\u0020'; // Espacio
c = '\u002F'; // Barra invertida (Slash)
//Digitos: 0030 a 0039
c = '\u0030'; // 0
c = '\u0039'; // 1
//Simbolos: 003A a 0040
c = '\u003A'; // :
c = '\u0040'; // @
//Letras Mayúsculas:0041 a 005A
c = '\u0041'; // A
c = '\u005A'; // Z
//Letras Minusculas: 0061 a 007A
c = '\u0061'; // a
c = '\u007A'; // z
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://educacion.gitbook.io/programacion/ud1-introduccion-a-programacion/execucion-secuencial/tipos-de-datos/caracteres-unicode-hexadecimal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
