# Displaying flags and smileys

### Flags

If the **first emoji** in the server name is a **flag**, it will be used as the server icon.\
Any additional flags or emojis after the first one will be ignored by the icon and only shown in the server name.

You can provide a flag in two formats:

* **As an emoji symbol** (e.g. 🇺🇸 — visual representation)
* **As a UTF-8 URL-encoded string**, for example:
  * `%F0%9F%87%AF%F0%9F%87%B5` — 🇯🇵 (Japan)
  * `%F0%9F%87%B7%F0%9F%87%BA` — 🇨🇳 (China)
  * `%F0%9F%87%BA%F0%9F%87%B8` — 🇺🇸 (USA)

⚠️ For **subscription headers**, only emoji **symbols** (e.g. 🥰) are supported.\
**UTF-8 encoded emojis are not supported**.

***

### Emojis

You can also use regular emojis (like smileys) in server names.\
However, if a smiley appears **before the flag**, the flag will **not be shown as the icon**.

✅ Correct example:\
🇺🇸 `😎 USA Node` → icon: 🇺🇸

❌ Incorrect example:\
`😎` 🇺🇸 `USA Node` → no icon

⚠️ For **subscription headers**, only emoji **symbols** (e.g. 🥰) are supported.\
**UTF-8 encoded emojis are not supported**.

### Example

```
vless://uuid@ip:80?flow=&type=tcp&security=none#Right1%F0%9F%87%AF%F0%9F%87%B5%F0%9F%A5%B0
vless://uuid@ip:80?flow=&type=tcp&security=none#Right2🇯🇵🥰
vless://uuid@ip:80?flow=&type=tcp&security=none#Wrong1%F0%9F%A5%B0%F0%9F%87%AF%F0%9F%87%B5
vless://uuid@ip:80?flow=&type=tcp&security=none#Wrong2🥰🇯🇵
```

<figure><img src="/files/ANSTYTgXxgH3WAwgfY3r" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://www.happ.su/main/dev-docs/emoji.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.
