---
name: "TranslateCharsetInfo"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/TranslateCharsetInfo"
---

# TranslateCharsetInfo(3w)

## NAME

**TranslateCharsetInfo** (GDI32.@)

## SYNOPSIS

BOOL TranslateCharsetInfo\
  (\
   LPDWORD                                                                                                                                                                                 *lpSrc*,\
   /\*\[in\] if flags == TCI\_SRCFONTSIG: pointer to fsCsb of a FONTSIGNATURE if flags == TCI\_SRCCHARSET: a character set value if flags == TCI\_SRCCODEPAGE: a code page value\*/ LPCHARSETINFO *lpCs*,\
   DWORD                                                                                                                                                                                   *flags*\
  )

## PARAMS

*lpCs* **\[Out\]**  structure to receive charset information.

*flags* **\[In\]**  determines interpretation of *lpSrc*.

## DESCRIPTION

Fills a **CHARSETINFO** structure for a character set, code page, or font. This allows making the correspondence between different labels (character set, Windows, **ANSI**, and **OEM** codepages, and Unicode ranges) of the same encoding.

Only one codepage will be set in *lpCs-\>fs*. If **TCI\_SRCFONTSIG** is used, only one codepage should be set in \**lpSrc*.

## RETURNS

**TRUE** on success, **FALSE** on failure.

## IMPLEMENTATION

Declared in **"wingdi.h"**.

Implemented in **"dlls/gdi32/font.c"**.

Debug channel **"font"**.
