/* ex: set ro ft=c: -*- mode: c; buffer-read-only: t -*- */
// Copyright (C) 2023,2024 Free Software Foundation, Inc.
// This file is part of LibreDWG.
// Created from scratch by Reini Urban
// Generated by txt2h.pl.

#include <stdint.h>

/* unsorted rhs values */
static const uint16_t cptbl_windows_1256[] = {
  /*[0x0] = */255,	// size of vector
  /*[0x1] = */1,
  /*[0x2] = */2,
  /*[0x3] = */3,
  /*[0x4] = */4,
  /*[0x5] = */5,
  /*[0x6] = */6,
  /*[0x7] = */7,
  /*[0x8] = */8,
  /*[0x9] = */9,
  /*[0xa] = */10,
  /*[0xb] = */11,
  /*[0xc] = */12,
  /*[0xd] = */13,
  /*[0xe] = */14,
  /*[0xf] = */15,
  /*[0x10] = */16,
  /*[0x11] = */17,
  /*[0x12] = */18,
  /*[0x13] = */19,
  /*[0x14] = */20,
  /*[0x15] = */21,
  /*[0x16] = */22,
  /*[0x17] = */23,
  /*[0x18] = */24,
  /*[0x19] = */25,
  /*[0x1a] = */26,
  /*[0x1b] = */27,
  /*[0x1c] = */28,
  /*[0x1d] = */29,
  /*[0x1e] = */30,
  /*[0x1f] = */31,
  /*[0x20] = */32,
  /*[0x21] = */33,
  /*[0x22] = */34,
  /*[0x23] = */35,
  /*[0x24] = */36,
  /*[0x25] = */37,
  /*[0x26] = */38,
  /*[0x27] = */39,
  /*[0x28] = */40,
  /*[0x29] = */41,
  /*[0x2a] = */42,
  /*[0x2b] = */43,
  /*[0x2c] = */44,
  /*[0x2d] = */45,
  /*[0x2e] = */46,
  /*[0x2f] = */47,
  /*[0x30] = */48,
  /*[0x31] = */49,
  /*[0x32] = */50,
  /*[0x33] = */51,
  /*[0x34] = */52,
  /*[0x35] = */53,
  /*[0x36] = */54,
  /*[0x37] = */55,
  /*[0x38] = */56,
  /*[0x39] = */57,
  /*[0x3a] = */58,
  /*[0x3b] = */59,
  /*[0x3c] = */60,
  /*[0x3d] = */61,
  /*[0x3e] = */62,
  /*[0x3f] = */63,
  /*[0x40] = */64,
  /*[0x41] = */65,
  /*[0x42] = */66,
  /*[0x43] = */67,
  /*[0x44] = */68,
  /*[0x45] = */69,
  /*[0x46] = */70,
  /*[0x47] = */71,
  /*[0x48] = */72,
  /*[0x49] = */73,
  /*[0x4a] = */74,
  /*[0x4b] = */75,
  /*[0x4c] = */76,
  /*[0x4d] = */77,
  /*[0x4e] = */78,
  /*[0x4f] = */79,
  /*[0x50] = */80,
  /*[0x51] = */81,
  /*[0x52] = */82,
  /*[0x53] = */83,
  /*[0x54] = */84,
  /*[0x55] = */85,
  /*[0x56] = */86,
  /*[0x57] = */87,
  /*[0x58] = */88,
  /*[0x59] = */89,
  /*[0x5a] = */90,
  /*[0x5b] = */91,
  /*[0x5c] = */92,
  /*[0x5d] = */93,
  /*[0x5e] = */94,
  /*[0x5f] = */95,
  /*[0x60] = */96,
  /*[0x61] = */97,
  /*[0x62] = */98,
  /*[0x63] = */99,
  /*[0x64] = */100,
  /*[0x65] = */101,
  /*[0x66] = */102,
  /*[0x67] = */103,
  /*[0x68] = */104,
  /*[0x69] = */105,
  /*[0x6a] = */106,
  /*[0x6b] = */107,
  /*[0x6c] = */108,
  /*[0x6d] = */109,
  /*[0x6e] = */110,
  /*[0x6f] = */111,
  /*[0x70] = */112,
  /*[0x71] = */113,
  /*[0x72] = */114,
  /*[0x73] = */115,
  /*[0x74] = */116,
  /*[0x75] = */117,
  /*[0x76] = */118,
  /*[0x77] = */119,
  /*[0x78] = */120,
  /*[0x79] = */121,
  /*[0x7a] = */122,
  /*[0x7b] = */123,
  /*[0x7c] = */124,
  /*[0x7d] = */125,
  /*[0x7e] = */126,
  /*[0x7f] = */0,
  /*[0x80] = */0x20AC,	// EURO SIGN
  /*[0x81] = */0x067E,	// ARABIC LETTER PEH
  /*[0x82] = */0x201A,	// SINGLE LOW-9 QUOTATION MARK
  /*[0x83] = */0x0192,	// LATIN SMALL LETTER F WITH HOOK
  /*[0x84] = */0x201E,	// DOUBLE LOW-9 QUOTATION MARK
  /*[0x85] = */0x2026,	// HORIZONTAL ELLIPSIS
  /*[0x86] = */0x2020,	// DAGGER
  /*[0x87] = */0x2021,	// DOUBLE DAGGER
  /*[0x88] = */0x02C6,	// MODIFIER LETTER CIRCUMFLEX ACCENT
  /*[0x89] = */0x2030,	// PER MILLE SIGN
  /*[0x8A] = */0x0679,	// ARABIC LETTER TTEH
  /*[0x8B] = */0x2039,	// SINGLE LEFT-POINTING ANGLE QUOTATION MARK
  /*[0x8C] = */0x0152,	// LATIN CAPITAL LIGATURE OE
  /*[0x8D] = */0x0686,	// ARABIC LETTER TCHEH
  /*[0x8E] = */0x0698,	// ARABIC LETTER JEH
  /*[0x8F] = */0x0688,	// ARABIC LETTER DDAL
  /*[0x90] = */0x06AF,	// ARABIC LETTER GAF
  /*[0x91] = */0x2018,	// LEFT SINGLE QUOTATION MARK
  /*[0x92] = */0x2019,	// RIGHT SINGLE QUOTATION MARK
  /*[0x93] = */0x201C,	// LEFT DOUBLE QUOTATION MARK
  /*[0x94] = */0x201D,	// RIGHT DOUBLE QUOTATION MARK
  /*[0x95] = */0x2022,	// BULLET
  /*[0x96] = */0x2013,	// EN DASH
  /*[0x97] = */0x2014,	// EM DASH
  /*[0x98] = */0x06A9,	// ARABIC LETTER KEHEH
  /*[0x99] = */0x2122,	// TRADE MARK SIGN
  /*[0x9A] = */0x0691,	// ARABIC LETTER RREH
  /*[0x9B] = */0x203A,	// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
  /*[0x9C] = */0x0153,	// LATIN SMALL LIGATURE OE
  /*[0x9D] = */0x200C,	// ZERO WIDTH NON-JOINER
  /*[0x9E] = */0x200D,	// ZERO WIDTH JOINER
  /*[0x9F] = */0x06BA,	// ARABIC LETTER NOON GHUNNA
  /*[0xA0] = */0x00A0,	// NO-BREAK SPACE
  /*[0xA1] = */0x060C,	// ARABIC COMMA
  /*[0xA2] = */0x00A2,	// CENT SIGN
  /*[0xA3] = */0x00A3,	// POUND SIGN
  /*[0xA4] = */0x00A4,	// CURRENCY SIGN
  /*[0xA5] = */0x00A5,	// YEN SIGN
  /*[0xA6] = */0x00A6,	// BROKEN BAR
  /*[0xA7] = */0x00A7,	// SECTION SIGN
  /*[0xA8] = */0x00A8,	// DIAERESIS
  /*[0xA9] = */0x00A9,	// COPYRIGHT SIGN
  /*[0xAA] = */0x06BE,	// ARABIC LETTER HEH DOACHASHMEE
  /*[0xAB] = */0x00AB,	// LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
  /*[0xAC] = */0x00AC,	// NOT SIGN
  /*[0xAD] = */0x00AD,	// SOFT HYPHEN
  /*[0xAE] = */0x00AE,	// REGISTERED SIGN
  /*[0xAF] = */0x00AF,	// MACRON
  /*[0xB0] = */0x00B0,	// DEGREE SIGN
  /*[0xB1] = */0x00B1,	// PLUS-MINUS SIGN
  /*[0xB2] = */0x00B2,	// SUPERSCRIPT TWO
  /*[0xB3] = */0x00B3,	// SUPERSCRIPT THREE
  /*[0xB4] = */0x00B4,	// ACUTE ACCENT
  /*[0xB5] = */0x00B5,	// MICRO SIGN
  /*[0xB6] = */0x00B6,	// PILCROW SIGN
  /*[0xB7] = */0x00B7,	// MIDDLE DOT
  /*[0xB8] = */0x00B8,	// CEDILLA
  /*[0xB9] = */0x00B9,	// SUPERSCRIPT ONE
  /*[0xBA] = */0x061B,	// ARABIC SEMICOLON
  /*[0xBB] = */0x00BB,	// RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
  /*[0xBC] = */0x00BC,	// VULGAR FRACTION ONE QUARTER
  /*[0xBD] = */0x00BD,	// VULGAR FRACTION ONE HALF
  /*[0xBE] = */0x00BE,	// VULGAR FRACTION THREE QUARTERS
  /*[0xBF] = */0x061F,	// ARABIC QUESTION MARK
  /*[0xC0] = */0x06C1,	// ARABIC LETTER HEH GOAL
  /*[0xC1] = */0x0621,	// ARABIC LETTER HAMZA
  /*[0xC2] = */0x0622,	// ARABIC LETTER ALEF WITH MADDA ABOVE
  /*[0xC3] = */0x0623,	// ARABIC LETTER ALEF WITH HAMZA ABOVE
  /*[0xC4] = */0x0624,	// ARABIC LETTER WAW WITH HAMZA ABOVE
  /*[0xC5] = */0x0625,	// ARABIC LETTER ALEF WITH HAMZA BELOW
  /*[0xC6] = */0x0626,	// ARABIC LETTER YEH WITH HAMZA ABOVE
  /*[0xC7] = */0x0627,	// ARABIC LETTER ALEF
  /*[0xC8] = */0x0628,	// ARABIC LETTER BEH
  /*[0xC9] = */0x0629,	// ARABIC LETTER TEH MARBUTA
  /*[0xCA] = */0x062A,	// ARABIC LETTER TEH
  /*[0xCB] = */0x062B,	// ARABIC LETTER THEH
  /*[0xCC] = */0x062C,	// ARABIC LETTER JEEM
  /*[0xCD] = */0x062D,	// ARABIC LETTER HAH
  /*[0xCE] = */0x062E,	// ARABIC LETTER KHAH
  /*[0xCF] = */0x062F,	// ARABIC LETTER DAL
  /*[0xD0] = */0x0630,	// ARABIC LETTER THAL
  /*[0xD1] = */0x0631,	// ARABIC LETTER REH
  /*[0xD2] = */0x0632,	// ARABIC LETTER ZAIN
  /*[0xD3] = */0x0633,	// ARABIC LETTER SEEN
  /*[0xD4] = */0x0634,	// ARABIC LETTER SHEEN
  /*[0xD5] = */0x0635,	// ARABIC LETTER SAD
  /*[0xD6] = */0x0636,	// ARABIC LETTER DAD
  /*[0xD7] = */0x00D7,	// MULTIPLICATION SIGN
  /*[0xD8] = */0x0637,	// ARABIC LETTER TAH
  /*[0xD9] = */0x0638,	// ARABIC LETTER ZAH
  /*[0xDA] = */0x0639,	// ARABIC LETTER AIN
  /*[0xDB] = */0x063A,	// ARABIC LETTER GHAIN
  /*[0xDC] = */0x0640,	// ARABIC TATWEEL
  /*[0xDD] = */0x0641,	// ARABIC LETTER FEH
  /*[0xDE] = */0x0642,	// ARABIC LETTER QAF
  /*[0xDF] = */0x0643,	// ARABIC LETTER KAF
  /*[0xE0] = */0x00E0,	// LATIN SMALL LETTER A WITH GRAVE
  /*[0xE1] = */0x0644,	// ARABIC LETTER LAM
  /*[0xE2] = */0x00E2,	// LATIN SMALL LETTER A WITH CIRCUMFLEX
  /*[0xE3] = */0x0645,	// ARABIC LETTER MEEM
  /*[0xE4] = */0x0646,	// ARABIC LETTER NOON
  /*[0xE5] = */0x0647,	// ARABIC LETTER HEH
  /*[0xE6] = */0x0648,	// ARABIC LETTER WAW
  /*[0xE7] = */0x00E7,	// LATIN SMALL LETTER C WITH CEDILLA
  /*[0xE8] = */0x00E8,	// LATIN SMALL LETTER E WITH GRAVE
  /*[0xE9] = */0x00E9,	// LATIN SMALL LETTER E WITH ACUTE
  /*[0xEA] = */0x00EA,	// LATIN SMALL LETTER E WITH CIRCUMFLEX
  /*[0xEB] = */0x00EB,	// LATIN SMALL LETTER E WITH DIAERESIS
  /*[0xEC] = */0x0649,	// ARABIC LETTER ALEF MAKSURA
  /*[0xED] = */0x064A,	// ARABIC LETTER YEH
  /*[0xEE] = */0x00EE,	// LATIN SMALL LETTER I WITH CIRCUMFLEX
  /*[0xEF] = */0x00EF,	// LATIN SMALL LETTER I WITH DIAERESIS
  /*[0xF0] = */0x064B,	// ARABIC FATHATAN
  /*[0xF1] = */0x064C,	// ARABIC DAMMATAN
  /*[0xF2] = */0x064D,	// ARABIC KASRATAN
  /*[0xF3] = */0x064E,	// ARABIC FATHA
  /*[0xF4] = */0x00F4,	// LATIN SMALL LETTER O WITH CIRCUMFLEX
  /*[0xF5] = */0x064F,	// ARABIC DAMMA
  /*[0xF6] = */0x0650,	// ARABIC KASRA
  /*[0xF7] = */0x00F7,	// DIVISION SIGN
  /*[0xF8] = */0x0651,	// ARABIC SHADDA
  /*[0xF9] = */0x00F9,	// LATIN SMALL LETTER U WITH GRAVE
  /*[0xFA] = */0x0652,	// ARABIC SUKUN
  /*[0xFB] = */0x00FB,	// LATIN SMALL LETTER U WITH CIRCUMFLEX
  /*[0xFC] = */0x00FC,	// LATIN SMALL LETTER U WITH DIAERESIS
  /*[0xFD] = */0x200E,	// LEFT-TO-RIGHT MARK
  /*[0xFE] = */0x200F,	// RIGHT-TO-LEFT MARK
  /*[0xFF] = */0x06D2,	// ARABIC LETTER YEH BARREE
};
/* sorted, without the first 127 characters */
static const uint8_t cptbl_alnum_windows_1256[] = {
  63,		// size of vector
  0x81,	// ARABIC LETTER PEH
  0x83,	// LATIN SMALL LETTER F WITH HOOK
  0x88,	// MODIFIER LETTER CIRCUMFLEX ACCENT
  0x8A,	// ARABIC LETTER TTEH
  0x8D,	// ARABIC LETTER TCHEH
  0x8E,	// ARABIC LETTER JEH
  0x8F,	// ARABIC LETTER DDAL
  0x90,	// ARABIC LETTER GAF
  0x98,	// ARABIC LETTER KEHEH
  0x9A,	// ARABIC LETTER RREH
  0x9F,	// ARABIC LETTER NOON GHUNNA
  0xAA,	// ARABIC LETTER HEH DOACHASHMEE
  0xC0,	// ARABIC LETTER HEH GOAL
  0xC1,	// ARABIC LETTER HAMZA
  0xC2,	// ARABIC LETTER ALEF WITH MADDA ABOVE
  0xC3,	// ARABIC LETTER ALEF WITH HAMZA ABOVE
  0xC4,	// ARABIC LETTER WAW WITH HAMZA ABOVE
  0xC5,	// ARABIC LETTER ALEF WITH HAMZA BELOW
  0xC6,	// ARABIC LETTER YEH WITH HAMZA ABOVE
  0xC7,	// ARABIC LETTER ALEF
  0xC8,	// ARABIC LETTER BEH
  0xC9,	// ARABIC LETTER TEH MARBUTA
  0xCA,	// ARABIC LETTER TEH
  0xCB,	// ARABIC LETTER THEH
  0xCC,	// ARABIC LETTER JEEM
  0xCD,	// ARABIC LETTER HAH
  0xCE,	// ARABIC LETTER KHAH
  0xCF,	// ARABIC LETTER DAL
  0xD0,	// ARABIC LETTER THAL
  0xD1,	// ARABIC LETTER REH
  0xD2,	// ARABIC LETTER ZAIN
  0xD3,	// ARABIC LETTER SEEN
  0xD4,	// ARABIC LETTER SHEEN
  0xD5,	// ARABIC LETTER SAD
  0xD6,	// ARABIC LETTER DAD
  0xD8,	// ARABIC LETTER TAH
  0xD9,	// ARABIC LETTER ZAH
  0xDA,	// ARABIC LETTER AIN
  0xDB,	// ARABIC LETTER GHAIN
  0xDD,	// ARABIC LETTER FEH
  0xDE,	// ARABIC LETTER QAF
  0xDF,	// ARABIC LETTER KAF
  0xE0,	// LATIN SMALL LETTER A WITH GRAVE
  0xE1,	// ARABIC LETTER LAM
  0xE2,	// LATIN SMALL LETTER A WITH CIRCUMFLEX
  0xE3,	// ARABIC LETTER MEEM
  0xE4,	// ARABIC LETTER NOON
  0xE5,	// ARABIC LETTER HEH
  0xE6,	// ARABIC LETTER WAW
  0xE7,	// LATIN SMALL LETTER C WITH CEDILLA
  0xE8,	// LATIN SMALL LETTER E WITH GRAVE
  0xE9,	// LATIN SMALL LETTER E WITH ACUTE
  0xEA,	// LATIN SMALL LETTER E WITH CIRCUMFLEX
  0xEB,	// LATIN SMALL LETTER E WITH DIAERESIS
  0xEC,	// ARABIC LETTER ALEF MAKSURA
  0xED,	// ARABIC LETTER YEH
  0xEE,	// LATIN SMALL LETTER I WITH CIRCUMFLEX
  0xEF,	// LATIN SMALL LETTER I WITH DIAERESIS
  0xF4,	// LATIN SMALL LETTER O WITH CIRCUMFLEX
  0xF9,	// LATIN SMALL LETTER U WITH GRAVE
  0xFB,	// LATIN SMALL LETTER U WITH CIRCUMFLEX
  0xFC,	// LATIN SMALL LETTER U WITH DIAERESIS
  0xFF,	// ARABIC LETTER YEH BARREE
};
#define MIN_WINDOWS_1256	0
#define MAX_WINDOWS_1256	255
#define MIN_WINDOWS_1256_UC	0
#define MAX_WINDOWS_1256_UC	8482
