---
name: "uconvert_ascii"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/uconvert_ascii"
---

# uconvert\_ascii(3alleg)

Converts string from ASCII into the current format. Allegro game programming library.

## NAME

uconvert\_ascii - Converts string from ASCII into the current format. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**char \*uconvert\_ascii(const char \*s, char buf\[\]);**

## DESCRIPTION

Helper macro for converting strings from ASCII into the current encoding  format. Expands to uconvert(s, U\_ASCII, buf, U\_CURRENT, sizeof(buf)).

## SEE ALSO

[**uconvert**(3alleg)](/uconvert/3alleg.md), [**exunicod**(3alleg)](/exunicod/3alleg.md)
