---
name: "NJB_Set_Unicode"
section: "3"
platform: "linux"
package: "libnjb1-doc"
version: "1.1-2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/NJB_Set_Unicode"
---

# NJB\_Set\_Unicode(3)

Set the mode of strings sent back and forth to libnjb.

## NAME

NJB\_Set\_Unicode - Set the mode of strings sent back and forth to libnjb.

## LIBRARY

libnjb

## SYNOPSIS

\#include \<libnjb.h\>

extern int njb\_error

NJB\_Set\_Unicode (int unicode\_mode)

## DESCRIPTION

NJB\_Set\_Unicode select which character encoding system that will be used for strings sent back and forth to libnjb.

## ARGUMENT VALUES

Possible values are

- NJB\_UC\_8859

  Use ISO 8859-1 character encoding. This is also the default.

- NJB\_UC\_UTF8

  Use Unicode Transformation Format 8, which is currently the only supported unicode mode. This is perfered in unicode-aware desktop environments like GNOME 2 or KDE 3 for example.
