---
name: "unicode_default_chset"
section: "3"
platform: "linux"
package: "libcourier-unicode-dev"
version: "2.3.2-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/unicode_default_chset"
---

# unicode\_default\_chset(3)

return the system character set name

## NAME

unicode\_default\_chset, unicode\_locale\_chset - return the system character set name

## SYNOPSIS

```
#include <courier-unicode.h>
```

**const char \*unicode\_default\_chset(void);**

**const char \*unicode\_locale\_chset(void);**

## DESCRIPTION

**unicode\_default\_chset**() returns the name of the system environment character set (usually “nl\_langinfo(CODESET)”, or from some suitable environment variable). **unicode\_locale\_chset**() returns the name of the current application locale's character set.

## SEE ALSO

[**courier-unicode**(7)](/courier-unicode/7.md), [**unicode\_convert\_tocase**(3)](/unicode_convert_tocase/3.md).

## AUTHOR

**Sam Varshavchik**

Author
