# Poco

# class Windows1251Encoding

Library: Foundation
Package: Text
Header: Poco/Windows1251Encoding.h

## Description

Windows Codepage 1251 text encoding. Based on: http://msdn.microsoft.com/en-us/goglobal/cc305144

## Inheritance

Direct Base Classes: TextEncoding

All Base Classes: TextEncoding

## Member Summary

Member Functions: canonicalName, characterMap, convert, isA, queryConvert, sequenceLength

Inherited Functions: add, byName, canonicalName, characterMap, convert, find, global, isA, manager, queryConvert, remove, sequenceLength

## Constructors

### Windows1251Encoding

Windows1251Encoding();

## Destructor

### ~Windows1251Encoding

~Windows1251Encoding() override;

## Member Functions

### canonicalName

const char * canonicalName() const override;

See also: Poco::TextEncoding::canonicalName()

### characterMap

const CharacterMap & characterMap() const override;

See also: Poco::TextEncoding::characterMap()

### convert

int convert(
const unsigned char * bytes
) const override;

See also: Poco::TextEncoding::convert()

### convert

int convert(
int ch,
unsigned char * bytes,
int length
) const override;

See also: Poco::TextEncoding::convert()

### isA

bool isA(
const std::string & encodingName
) const override;

See also: Poco::TextEncoding::isA()

### queryConvert

int queryConvert(
const unsigned char * bytes,
int length
) const override;

See also: Poco::TextEncoding::queryConvert()

### sequenceLength

int sequenceLength(
const unsigned char * bytes,
int length
) const override;

See also: Poco::TextEncoding::sequenceLength()