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

# RtlIsTextUnicode(3w)

## NAME

**RtlIsTextUnicode** (NTDLL.@)

## SYNOPSIS

BOOLEAN RtlIsTextUnicode\
  (\
   LPCVOID *buf*,\
   INT     *len*,\
   INT\*    *pf*\
  )

## DESCRIPTION

Attempt to guess whether a text buffer is Unicode.

## PARAMS

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

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

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

## RETURNS

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

## FIXME

Should implement more tests.

## IMPLEMENTATION

Declared in **"winternl.h"**.

Implemented in **"dlls/ntdll/rtlstr.c"**.

Debug channel **"ntdll"**.
