---
name: "uconvert_toascii"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/uconvert_toascii/3alleg4"
---

# uconvert\_toascii(3alleg4)

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

## NAME

uconvert\_toascii - Converts strings from the current format into ASCII. Allegro game programming library.

## SYNOPSIS

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

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

## DESCRIPTION

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

## SEE ALSO

**uconvert**(3alleg4)
