# XO1508: an embedded Str is not UTF-8

A `Str` holds UTF-8 text. A file with other bytes (an image, a compressed file, text in another encoding) embeds as `Bytes`.

## Example

```xo
const LOGO: Str = embed("logo.png")
```

## Fix

```xo
Declare the constant `Bytes`: `const LOGO: Bytes = embed("logo.png")`.
```

Run `xo explain XO1508` for this text in a terminal, or see
[section 10.6 of the specification](../../spec/core/#106-diagnostic-codes).

