office-gobmx/sal/textenc/convertisciidevangari.tab
Caolán McNamara bfeeed3e98 implement a new iscii (devangari) <-> unicode converter
this time with support for the multi-byte encodings possible
in ISCII

Change-Id: I1dc09e8836676ab614b531e8dc10f91a90b7c4fd
2012-11-27 13:31:31 +00:00

35 lines
1.1 KiB
SQL

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "sal/config.h"
#include "rtl/tencinfo.h"
#include "rtl/textenc.h"
#include "convertisciidevangari.hxx"
static ImplTextEncodingData const aImplIsciiDevanagariTextEncodingData
= { { NULL,
&ImplConvertIsciiDevanagariToUnicode,
&ImplConvertUnicodeToIsciiDevanagari,
&ImplCreateIsciiDevanagariToUnicodeContext,
&ImplDestroyIsciiDevanagariToUnicodeContext,
&ImplResetIsciiDevanagariToUnicodeContext,
&ImplCreateUnicodeToIsciiDevanagariContext,
&ImplResetUnicodeToIsciiDevanagariContext,
&ImplDestroyUnicodeToIsciiDevanagariContext },
1,
2,
2,
1,
NULL,
"x-iscii-de ",
RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MULTIBYTE };
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */