KDECore
#include "kencodingdetector.h"
#include <assert.h>
#include "guess_ja_p.h"
#include <QRegExp>
#include <QTextCodec>
#include <kglobal.h>
#include <kcharsets.h>
#include <kdebug.h>
#include <klocale.h>
#include <ctype.h>
Go to the source code of this file.
|
static QByteArray | automaticDetectionForArabic (const unsigned char *ptr, int size) |
|
static QByteArray | automaticDetectionForBaltic (const unsigned char *ptr, int size) |
|
static QByteArray | automaticDetectionForCentralEuropean (const unsigned char *ptr, int size) |
|
static QByteArray | automaticDetectionForCyrillic (const unsigned char *ptr, int size) |
|
static QByteArray | automaticDetectionForGreek (const unsigned char *ptr, int size) |
|
static QByteArray | automaticDetectionForHebrew (const unsigned char *ptr, int size) |
|
static QByteArray | automaticDetectionForJapanese (const unsigned char *ptr, int size) |
|
static QByteArray | automaticDetectionForTurkish (const unsigned char *ptr, int size) |
|
static QByteArray | automaticDetectionForWesternEuropean (const unsigned char *ptr, int size) |
|
static int | findXMLEncoding (const QByteArray &str, int &encodingLength) |
|
static bool | is16Bit (QTextCodec *codec) |
|
static void | skipComment (const char *&ptr, const char *pEnd) |
|
#define MAX_BUFFER 16*1024 |
Enumerator |
---|
MibLatin1 |
|
Mib8859_8 |
|
MibUtf8 |
|
MibUcs2 |
|
MibUtf16 |
|
MibUtf16BE |
|
MibUtf16LE |
|
Definition at line 49 of file kencodingdetector.cpp.
static QByteArray automaticDetectionForArabic |
( |
const unsigned char * |
ptr, |
|
|
int |
size |
|
) |
| |
|
static |
static QByteArray automaticDetectionForBaltic |
( |
const unsigned char * |
ptr, |
|
|
int |
size |
|
) |
| |
|
static |
static QByteArray automaticDetectionForCentralEuropean |
( |
const unsigned char * |
ptr, |
|
|
int |
size |
|
) |
| |
|
static |
static QByteArray automaticDetectionForCyrillic |
( |
const unsigned char * |
ptr, |
|
|
int |
size |
|
) |
| |
|
static |
static QByteArray automaticDetectionForGreek |
( |
const unsigned char * |
ptr, |
|
|
int |
size |
|
) |
| |
|
static |
static QByteArray automaticDetectionForHebrew |
( |
const unsigned char * |
ptr, |
|
|
int |
size |
|
) |
| |
|
static |
static QByteArray automaticDetectionForJapanese |
( |
const unsigned char * |
ptr, |
|
|
int |
size |
|
) |
| |
|
static |
static QByteArray automaticDetectionForTurkish |
( |
const unsigned char * |
ptr, |
|
|
int |
size |
|
) |
| |
|
static |
static QByteArray automaticDetectionForWesternEuropean |
( |
const unsigned char * |
ptr, |
|
|
int |
size |
|
) |
| |
|
static |
static int findXMLEncoding |
( |
const QByteArray & |
str, |
|
|
int & |
encodingLength |
|
) |
| |
|
static |
static bool is16Bit |
( |
QTextCodec * |
codec | ) |
|
|
static |
static void skipComment |
( |
const char *& |
ptr, |
|
|
const char * |
pEnd |
|
) |
| |
|
static |
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.