# utf8_build_one

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/utf8.c#L524
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-utf8_build_one/

```c
u_int utf8_build_one(u_char ch)
```

## Parameters

- `ch` (`u_char`)

## Called by

- [`grid_set_cells`](/en/tmux/latest/reference/c-function-grid_set_cells/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L645)

## Referenced declarations

- [`utf8_char`](/en/tmux/latest/reference/c-typedef-utf8_char/) (typealias)
- [`UTF8_SET_SIZE`](/en/tmux/latest/reference/c-define-utf8-c-utf8_set_size/) (constant)
- [`UTF8_SET_WIDTH`](/en/tmux/latest/reference/c-define-utf8-c-utf8_set_width/) (constant)
