Lines Matching full:name

60             '/^' . UTF8::BYTE_ORDER_MARK . '/'    => UTF8::NAME,
61 '/^' . UTF16BE::BYTE_ORDER_MARK . '/' => UTF16BE::NAME,
62 '/^' . UTF16LE::BYTE_ORDER_MARK . '/' => UTF16LE::NAME,
72 "\x000" => UTF16BE::NAME,
73 "0\x00" => UTF16LE::NAME,
98 'ASCII' => ASCII::NAME,
99 'ANSEL' => ANSEL::NAME,
100 'UTF-8' => UTF8::NAME,
101 'UNICODE' => UTF8::NAME, // If the null byte test failed, this can't be UTF16
102 'ASCII/MacOS Roman' => MacRoman::NAME, // GEDitCOM
103 'ASCII/MACINTOSH' => MacRoman::NAME, // MacFamilyTree < 8.3.5
104 'MACINTOSH' => MacRoman::NAME, // MacFamilyTree >= 8.3.5
105 'CP437' => CP437::NAME,
106 'IBMPC' => CP437::NAME,
107 'IBM' => CP437::NAME, // Reunion
108 'IBM-PC' => CP437::NAME, // CumberlandFamilyTree
109 'OEM' => CP437::NAME, // Généatique
110 'CP850' => CP850::NAME,
111 'MSDOS' => CP850::NAME,
112 'IBM-DOS' => CP850::NAME, // Reunion, EasyTree
113 'MS-DOS' => CP850::NAME, // AbrEdit FTM for Windows
114 'ANSI' => CP850::NAME,
115 'WINDOWS' => CP850::NAME, // Parentele
116 'IBM WINDOWS' => CP850::NAME, // EasyTree, Généalogie, Reunion, TribalPages
117 'IBM_WINDOWS' => CP850::NAME, // EasyTree
118 'CP1250' => Windows1250::NAME,
119 'windows-1250' => Windows1250::NAME, // GenoPro, Rodokmen Pro
120 'CP1251' => Windows1251::NAME,
121 'WINDOWS-1251' => Windows1251::NAME, // Rodovid
122 'CP1252' => Windows1252::NAME, // Lifelines
123 'ISO-8859-1' => ISO88591::NAME, // Cumberland Family Tree, Lifelines
124 'ISO8859-1' => ISO88591::NAME, // Scion Genealogist
125 'ISO8859' => ISO88591::NAME, // Genealogica Grafica
126 'LATIN-1' => ISO88591::NAME,
127 'LATIN1' => ISO88591::NAME, // GenealogyJ
128 'ISO-8859-2' => ISO88592::NAME,
129 'ISO8859-2' => ISO88592::NAME,
130 'LATIN-2' => ISO88592::NAME,
131 'LATIN2' => ISO88592::NAME,
151 return $this->make(UTF8::NAME);
157 * @param string $name
162 public function make(string $name): EncodingInterface argument
164 switch ($name) {
165 case UTF8::NAME:
168 case UTF16BE::NAME:
171 case UTF16LE::NAME:
174 case ANSEL::NAME:
177 case ASCII::NAME:
180 case CP437::NAME:
183 case CP850::NAME:
186 case Windows1250::NAME:
189 case Windows1251::NAME:
192 case Windows1252::NAME:
195 case MacRoman::NAME:
198 case ISO88591::NAME:
201 case ISO88592::NAME:
205 throw new DomainException('Invalid encoding: ' . $name);
217 UTF8::NAME => 'UTF-8',
218 UTF16BE::NAME => 'UTF-16BE',
219 UTF16LE::NAME => 'UTF-16LE',
220 ANSEL::NAME => 'ANSEL',
221 ASCII::NAME => 'ASCII',
222 ISO88591::NAME => 'ISO-8859-1',
223 ISO88592::NAME => 'ISO-8859-2',
224 Windows1250::NAME => 'Windows 1250',
225 Windows1251::NAME => 'Windows 1251',
226 Windows1252::NAME => 'Windows 1252',
227 CP437::NAME => 'CP437',
228 CP850::NAME => 'CP850',
229 MacRoman::NAME => 'MacOS Roman',