A set of dependency-free basic internationalization tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
3.3 KiB

<?php
/** @license MIT
* Copyright 2018 J. King et al.
* See LICENSE and AUTHORS files for details */
declare(strict_types=1);
namespace MensBeam\Intl\Encoding;
class ISO885910 extends SingleByteEncoding {
public const NAME = "ISO-8859-10";
public const LABELS = [
"csisolatin6",
"iso-8859-10",
"iso-ir-157",
"iso8859-10",
"iso885910",
"l6",
"latin6",
];
protected const TABLE_DEC_CHAR = ["\u{80}","\u{81}","\u{82}","\u{83}","\u{84}","\u{85}","\u{86}","\u{87}","\u{88}","\u{89}","\u{8a}","\u{8b}","\u{8c}","\u{8d}","\u{8e}","\u{8f}","\u{90}","\u{91}","\u{92}","\u{93}","\u{94}","\u{95}","\u{96}","\u{97}","\u{98}","\u{99}","\u{9a}","\u{9b}","\u{9c}","\u{9d}","\u{9e}","\u{9f}","\u{a0}","\u{104}","\u{112}","\u{122}","\u{12a}","\u{128}","\u{136}","\u{a7}","\u{13b}","\u{110}","\u{160}","\u{166}","\u{17d}","\u{ad}","\u{16a}","\u{14a}","\u{b0}","\u{105}","\u{113}","\u{123}","\u{12b}","\u{129}","\u{137}","\u{b7}","\u{13c}","\u{111}","\u{161}","\u{167}","\u{17e}","\u{2015}","\u{16b}","\u{14b}","\u{100}","\u{c1}","\u{c2}","\u{c3}","\u{c4}","\u{c5}","\u{c6}","\u{12e}","\u{10c}","\u{c9}","\u{118}","\u{cb}","\u{116}","\u{cd}","\u{ce}","\u{cf}","\u{d0}","\u{145}","\u{14c}","\u{d3}","\u{d4}","\u{d5}","\u{d6}","\u{168}","\u{d8}","\u{172}","\u{da}","\u{db}","\u{dc}","\u{dd}","\u{de}","\u{df}","\u{101}","\u{e1}","\u{e2}","\u{e3}","\u{e4}","\u{e5}","\u{e6}","\u{12f}","\u{10d}","\u{e9}","\u{119}","\u{eb}","\u{117}","\u{ed}","\u{ee}","\u{ef}","\u{f0}","\u{146}","\u{14d}","\u{f3}","\u{f4}","\u{f5}","\u{f6}","\u{169}","\u{f8}","\u{173}","\u{fa}","\u{fb}","\u{fc}","\u{fd}","\u{fe}","\u{138}"];
protected const TABLE_DEC_CODE = [128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,274,290,298,296,310,167,315,272,352,358,381,173,362,330,176,261,275,291,299,297,311,183,316,273,353,359,382,8213,363,331,256,193,194,195,196,197,198,302,268,201,280,203,278,205,206,207,208,325,332,211,212,213,214,360,216,370,218,219,220,221,222,223,257,225,226,227,228,229,230,303,269,233,281,235,279,237,238,239,240,326,333,243,244,245,246,361,248,371,250,251,252,253,254,312];
protected const TABLE_ENC = [128=>"\x80","\x81","\x82","\x83","\x84","\x85","\x86","\x87","\x88","\x89","\x8A","\x8B","\x8C","\x8D","\x8E","\x8F","\x90","\x91","\x92","\x93","\x94","\x95","\x96","\x97","\x98","\x99","\x9A","\x9B","\x9C","\x9D","\x9E","\x9F","\xA0",167=>"\xA7",173=>"\xAD",176=>"\xB0",183=>"\xB7",193=>"\xC1","\xC2","\xC3","\xC4","\xC5","\xC6",201=>"\xC9",203=>"\xCB",205=>"\xCD","\xCE","\xCF","\xD0",211=>"\xD3","\xD4","\xD5","\xD6",216=>"\xD8",218=>"\xDA","\xDB","\xDC","\xDD","\xDE","\xDF",225=>"\xE1","\xE2","\xE3","\xE4","\xE5","\xE6",233=>"\xE9",235=>"\xEB",237=>"\xED","\xEE","\xEF","\xF0",243=>"\xF3","\xF4","\xF5","\xF6",248=>"\xF8",250=>"\xFA","\xFB","\xFC","\xFD","\xFE",256=>"\xC0","\xE0",260=>"\xA1","\xB1",268=>"\xC8","\xE8",272=>"\xA9","\xB9","\xA2","\xB2",278=>"\xCC","\xEC","\xCA","\xEA",290=>"\xA3","\xB3",296=>"\xA5","\xB5","\xA4","\xB4",302=>"\xC7","\xE7",310=>"\xA6","\xB6","\xFF",315=>"\xA8","\xB8",325=>"\xD1","\xF1",330=>"\xAF","\xBF","\xD2","\xF2",352=>"\xAA","\xBA",358=>"\xAB","\xBB","\xD7","\xF7","\xAE","\xBE",370=>"\xD9","\xF9",381=>"\xAC","\xBC",8213=>"\xBD"];
}