---
name: "uconvert_toascii"
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_toascii"
---

# uconvert\_toascii(3alleg)

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**(3alleg)](/uconvert/3alleg.md)
