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

# IsTextUnicode(3w)

## NAME

**IsTextUnicode** (ADVAPI32.@)

## SYNOPSIS

BOOL IsTextUnicode\
  (\
   LPCVOID *buf*,\
   INT     *len*,\
   LPINT   *flags*\
  )

## DESCRIPTION

Attempt to guess whether a text buffer is Unicode.

## PARAMS

*buf* **\[In\]**  Text buffer to test.

*len* **\[In\]**  Length of *buf*.

*flags* **\[Out\]**  Destination for test results.

## RETURNS

**TRUE** if the buffer is likely Unicode, **FALSE** otherwise.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/advapi32/advapi.c"**.

Debug channel **"advapi"**.
