use 5.014;
use warnings;

+{
	'ascii'        => {inherit => ['' => '00-7F']},
	'cp437'        => {inherit => ['cp850' => 0, 'ascii' => '00-1F+80']}, # ascii range overridden later
	'gsm0338'      => {inherit => ['ascii' => '00-7F']},
	'dingbats'     => {inherit => ['' => '20-7F+A0']},
	'MacDingbats'  => {inherit => ['dingbats' => '80-9F']},
	'AdobeZdingbat'=> {inherit => ['MacDingbats' => '80-9F']}, # should be identical but maps to private use
	'symbol'       => {inherit => ['' => '20-7F+A0']},
	'AdobeSymbol'  => {inherit => ['symbol' => '20-7F+A0', '' => '20-7F+A0']}, # minor differences, irrelevant except for different '€'
	'wingdings'    => {inherit => ['' => '20']},
	'wingdings2'   => {inherit => ['' => '20']},
	'wingdings3'   => {inherit => ['' => '20']},
	'webdings'     => {inherit => ['' => '20']},

	'iso-8859-2'   => {inherit => ['iso-8859-1' => 'A0']},
	'iso-8859-3'   => {inherit => ['iso-8859-1' => 'A0']}, #TODO: also apply to iso-8859-9
	'iso-8859-4'   => {inherit => ['iso-8859-2' => 'A0']},
	'iso-8859-5'   => {inherit => ['iso-8859-1' => 'A0']},
	'iso-8859-6'   => {inherit => ['cp1256' => '80', 'iso-8859-1' => 'A0']},
	'iso-8859-7'   => {inherit => ['iso-8859-1' => 'A0']},
	'iso-8859-8'   => {inherit => ['iso-8859-1' => 'A0']},
	'iso-8859-9'   => {inherit => ['iso-8859-1' => 'D0-DF+F0']},
	'iso-8859-10'  => {inherit => ['iso-8859-4' => 'A0']},
	'iso-8859-11'  => {inherit => ['iso-8859-1' => 'A0']},
	'iso-8859-13'  => {inherit => ['iso-8859-4' => 'A0']},
	'iso-8859-14'  => {inherit => ['iso-8859-1' => 'A0']},
	'iso-8859-15'  => {inherit => ['iso-8859-1' => 'A0-BF']},
	'iso-8859-16'  => {inherit => ['iso-8859-2' => 'A0']},
	'hp-roman8'    => {inherit => ['iso-8859-1' => 'A0']},

	'cp1252'       => {inherit => ['iso-8859-1' => '80-9F']},
	'cp1250'       => {inherit => ['iso-8859-2' => '80-BF', 'cp1252' => '80']},
	'cp1254'       => {inherit => ['iso-8859-9' => '80-9F', 'cp1252' => '80-9F+D0']},
	'cp874'        => {inherit => ['iso-8859-11' => '80-9F', 'cp1252' => '80']}, # windows-874 actually cp1162
	'cp1257'       => {inherit => ['iso-8859-13' => '80-9F+FF', 'cp1252' => '80']},
	'cp1251'       => {inherit => ['cp1252' => '80']},
	'cp1253'       => {inherit => ['cp1252' => '80']},
	'cp1255'       => {inherit => ['iso-8859-8' => '80-DF', 'cp1252' => '80']},
	'cp1256'       => {inherit => ['cp1252' => '80']},
	'cp1258'       => {inherit => ['cp1252' => '80-9F+C0']},

	'cp850'        => {inherit => ['cp437' => '90']},
	'cp860'        => {inherit => ['cp437' => '80-AF']},
	'cp861'        => {inherit => ['cp865' => '80-AF']},
	'cp863'        => {inherit => ['cp437' => '80-AF']},
	'cp865'        => {inherit => ['cp437' => '90-AF']},
	'cp852'        => {inherit => ['cp850' => '80', 'cp437' => '80']},
	'cp857'        => {inherit => ['cp850' => '80-AF+D0-EF', 'cp437' => '80']},
	'cp775'        => {inherit => ['cp850' => '80']},  # partial cp437
	'cp866'        => {inherit => ['cp437' => '80-AF+E0']},
	'cp855'        => {inherit => ['cp437' => '80']},
	'cp1006'       => {inherit => ['iso-8859-6' => 'A0', 'cp437' => '80']},
	'cp737'        => {inherit => ['cp437' => '80-AF+E0']},
	'cp869'        => {inherit => ['cp437' => '80']},
	'cp862'        => {inherit => ['cp437' => '80-9F']},
	'cp864'        => {inherit => ['MacArabic' => '80', 'iso-8859-6' => '80', 'cp437' => '80']}, #TODO: compare form variants

	'koi8-u'       => {inherit => ['koi8-r' => '90-BF']},
	'koi8-f'       => {inherit => ['koi8-u' => '90-BF']},

	'MacRomanian'  => {inherit => ['MacRoman' => 'A0-BF+D0-DF']},
	'MacRumanian'  => {inherit => ['MacRomanian' => 'A0-BF+D0-DF', 'MacRoman' => 'A0-BF+D0-DF']},
	'MacCroatian'  => {inherit => ['MacRoman' => 'A0']},
	'MacCentralEurRoman' => {inherit => ['MacRoman' => '80']},
	'MacIcelandic' => {inherit => ['MacRoman' => 'A0-AF+D0-EF']},
	'MacTurkish'   => {inherit => ['MacRoman' => 'D0-DF']}, # F5 is unassigned
	'MacSami'      => {inherit => ['MacIcelandic' => '90-BF+D0-DF+F0', 'MacRoman' => '90']},
	'MacGreek'     => {inherit => ['MacRoman' => '80']},
	'MacCyrillic'  => {inherit => ['MacRoman' => '80']},
	'MacHebrew'    => {inherit => ['iso-8859-8' => '80', 'MacRoman' => '80-8F+A0']}, # partial ascii
	'MacArabic'    => {inherit => ['iso-8859-6' => '80', 'cp864' => '80', 'MacRoman' => '80']}, #TODO: multiple parents
	'MacFarsi'     => {inherit => ['MacArabic' => 'B0-BF', 'MacRoman' => '80']},

	'cp37'         => {inherit => ['posix-bc' => '00']},
	'posix-bc'     => {inherit => ['cp1047' => '40']},
	'cp500'        => {inherit => ['cp37' => '40-5F+B0-BF']},
	'cp1047'       => {inherit => ['cp37' => '10-2F+50-5F+A0-BF']},
	'cp1026'       => {inherit => ['cp37' => '40']},
	'cp875'        => {inherit => ['cp37' => '30']},
};
