# utf8_build_one

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/utf8.c#L186
- **Page:** https://libtmux.org/en/tmux/3.2a/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/3.2a/reference/c-function-grid_set_cells/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L591)

## Referenced by

- [`session_new`](/en/tmux/3.2a/reference/c-function-session_new/) (function)

## Referenced declarations

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