; IBM1047 UCS-2 encoding rule
; source:  ftp://dkuug.dk/i18n/charmaps/IBM1047
any [
#{04} (insert tail result #{009C}) | 
#{05} (insert tail result #{0009}) | 
#{06} (insert tail result #{0086}) | 
#{08} (insert tail result #{0097}) | 
#{09} (insert tail result #{008D}) | 
#{0A} (insert tail result #{008E}) | 
#{14} (insert tail result #{009D}) | 
#{15} (insert tail result #{0085}) | 
#{16} (insert tail result #{0008}) | 
#{17} (insert tail result #{0087}) | 
#{1A} (insert tail result #{0092}) | 
#{1B} (insert tail result #{008F}) | 
#{20} (insert tail result #{0080}) | 
#{21} (insert tail result #{0081}) | 
#{22} (insert tail result #{0082}) | 
#{23} (insert tail result #{0083}) | 
#{24} (insert tail result #{0084}) | 
#{25} (insert tail result #{000A}) | 
#{26} (insert tail result #{0017}) | 
#{27} (insert tail result #{001B}) | 
#{28} (insert tail result #{0088}) | 
#{29} (insert tail result #{0089}) | 
#{2A} (insert tail result #{008A}) | 
#{2B} (insert tail result #{008B}) | 
#{2C} (insert tail result #{008C}) | 
#{2D} (insert tail result #{0005}) | 
#{2E} (insert tail result #{0006}) | 
#{2F} (insert tail result #{0007}) | 
#{30} (insert tail result #{0090}) | 
#{31} (insert tail result #{0091}) | 
#{32} (insert tail result #{0016}) | 
#{33} (insert tail result #{0093}) | 
#{34} (insert tail result #{0094}) | 
#{35} (insert tail result #{0095}) | 
#{36} (insert tail result #{0096}) | 
#{37} (insert tail result #{0004}) | 
#{38} (insert tail result #{0098}) | 
#{39} (insert tail result #{0099}) | 
#{3A} (insert tail result #{009A}) | 
#{3B} (insert tail result #{009B}) | 
#{3C} (insert tail result #{0014}) | 
#{3D} (insert tail result #{0015}) | 
#{3E} (insert tail result #{009E}) | 
#{3F} (insert tail result #{001A}) | 
#{40} (insert tail result #{0020}) | 
#{41} (insert tail result #{00A0}) | 
#{42} (insert tail result #{00E2}) | 
#{43} (insert tail result #{00E4}) | 
#{44} (insert tail result #{00E0}) | 
#{45} (insert tail result #{00E1}) | 
#{46} (insert tail result #{00E3}) | 
#{47} (insert tail result #{00E5}) | 
#{48} (insert tail result #{00E7}) | 
#{49} (insert tail result #{00F1}) | 
#{4A} (insert tail result #{00A2}) | 
#{4B} (insert tail result #{002E}) | 
#{4C} (insert tail result #{003C}) | 
#{4D} (insert tail result #{0028}) | 
#{4E} (insert tail result #{002B}) | 
#{4F} (insert tail result #{007C}) | 
#{50} (insert tail result #{0026}) | 
#{51} (insert tail result #{00E9}) | 
#{52} (insert tail result #{00EA}) | 
#{53} (insert tail result #{00EB}) | 
#{54} (insert tail result #{00E8}) | 
#{55} (insert tail result #{00ED}) | 
#{56} (insert tail result #{00EE}) | 
#{57} (insert tail result #{00EF}) | 
#{58} (insert tail result #{00EC}) | 
#{59} (insert tail result #{00DF}) | 
#{5A} (insert tail result #{0021}) | 
#{5B} (insert tail result #{0024}) | 
#{5C} (insert tail result #{002A}) | 
#{5D} (insert tail result #{0029}) | 
#{5E} (insert tail result #{003B}) | 
#{5F} (insert tail result #{005E}) | 
#{60} (insert tail result #{002D}) | 
#{61} (insert tail result #{002F}) | 
#{62} (insert tail result #{00C2}) | 
#{63} (insert tail result #{00C4}) | 
#{64} (insert tail result #{00C0}) | 
#{65} (insert tail result #{00C1}) | 
#{66} (insert tail result #{00C3}) | 
#{67} (insert tail result #{00C5}) | 
#{68} (insert tail result #{00C7}) | 
#{69} (insert tail result #{00D1}) | 
#{6A} (insert tail result #{00A6}) | 
#{6B} (insert tail result #{002C}) | 
#{6C} (insert tail result #{0025}) | 
#{6D} (insert tail result #{005F}) | 
#{6E} (insert tail result #{003E}) | 
#{6F} (insert tail result #{003F}) | 
#{70} (insert tail result #{00F8}) | 
#{71} (insert tail result #{00C9}) | 
#{72} (insert tail result #{00CA}) | 
#{73} (insert tail result #{00CB}) | 
#{74} (insert tail result #{00C8}) | 
#{75} (insert tail result #{00CD}) | 
#{76} (insert tail result #{00CE}) | 
#{77} (insert tail result #{00CF}) | 
#{78} (insert tail result #{00CC}) | 
#{79} (insert tail result #{0060}) | 
#{7A} (insert tail result #{003A}) | 
#{7B} (insert tail result #{0023}) | 
#{7C} (insert tail result #{0040}) | 
#{7D} (insert tail result #{0027}) | 
#{7E} (insert tail result #{003D}) | 
#{7F} (insert tail result #{0022}) | 
#{80} (insert tail result #{00D8}) | 
#{81} (insert tail result #{0061}) | 
#{82} (insert tail result #{0062}) | 
#{83} (insert tail result #{0063}) | 
#{84} (insert tail result #{0064}) | 
#{85} (insert tail result #{0065}) | 
#{86} (insert tail result #{0066}) | 
#{87} (insert tail result #{0067}) | 
#{88} (insert tail result #{0068}) | 
#{89} (insert tail result #{0069}) | 
#{8A} (insert tail result #{00AB}) | 
#{8B} (insert tail result #{00BB}) | 
#{8C} (insert tail result #{00F0}) | 
#{8D} (insert tail result #{00FD}) | 
#{8E} (insert tail result #{00FE}) | 
#{8F} (insert tail result #{00B1}) | 
#{90} (insert tail result #{00B0}) | 
#{91} (insert tail result #{006A}) | 
#{92} (insert tail result #{006B}) | 
#{93} (insert tail result #{006C}) | 
#{94} (insert tail result #{006D}) | 
#{95} (insert tail result #{006E}) | 
#{96} (insert tail result #{006F}) | 
#{97} (insert tail result #{0070}) | 
#{98} (insert tail result #{0071}) | 
#{99} (insert tail result #{0072}) | 
#{9A} (insert tail result #{00AA}) | 
#{9B} (insert tail result #{00BA}) | 
#{9C} (insert tail result #{00E6}) | 
#{9D} (insert tail result #{00B8}) | 
#{9E} (insert tail result #{00C6}) | 
#{9F} (insert tail result #{00A4}) | 
#{A0} (insert tail result #{00B5}) | 
#{A1} (insert tail result #{007E}) | 
#{A2} (insert tail result #{0073}) | 
#{A3} (insert tail result #{0074}) | 
#{A4} (insert tail result #{0075}) | 
#{A5} (insert tail result #{0076}) | 
#{A6} (insert tail result #{0077}) | 
#{A7} (insert tail result #{0078}) | 
#{A8} (insert tail result #{0079}) | 
#{A9} (insert tail result #{007A}) | 
#{AA} (insert tail result #{00A1}) | 
#{AB} (insert tail result #{00BF}) | 
#{AC} (insert tail result #{00D0}) | 
#{AD} (insert tail result #{005B}) | 
#{AE} (insert tail result #{00DE}) | 
#{AF} (insert tail result #{00AE}) | 
#{B0} (insert tail result #{00AC}) | 
#{B1} (insert tail result #{00A3}) | 
#{B2} (insert tail result #{00A5}) | 
#{B3} (insert tail result #{00B7}) | 
#{B4} (insert tail result #{00A9}) | 
#{B5} (insert tail result #{00A7}) | 
#{B7} (insert tail result #{00BC}) | 
#{B8} (insert tail result #{00BD}) | 
#{B9} (insert tail result #{00BE}) | 
#{BA} (insert tail result #{00DD}) | 
#{BB} (insert tail result #{00A8}) | 
#{BC} (insert tail result #{00AF}) | 
#{BD} (insert tail result #{005D}) | 
#{BE} (insert tail result #{00B4}) | 
#{BF} (insert tail result #{00D7}) | 
#{C0} (insert tail result #{007B}) | 
#{C1} (insert tail result #{0041}) | 
#{C2} (insert tail result #{0042}) | 
#{C3} (insert tail result #{0043}) | 
#{C4} (insert tail result #{0044}) | 
#{C5} (insert tail result #{0045}) | 
#{C6} (insert tail result #{0046}) | 
#{C7} (insert tail result #{0047}) | 
#{C8} (insert tail result #{0048}) | 
#{C9} (insert tail result #{0049}) | 
#{CA} (insert tail result #{00AD}) | 
#{CB} (insert tail result #{00F4}) | 
#{CC} (insert tail result #{00F6}) | 
#{CD} (insert tail result #{00F2}) | 
#{CE} (insert tail result #{00F3}) | 
#{CF} (insert tail result #{00F5}) | 
#{D0} (insert tail result #{007D}) | 
#{D1} (insert tail result #{004A}) | 
#{D2} (insert tail result #{004B}) | 
#{D3} (insert tail result #{004C}) | 
#{D4} (insert tail result #{004D}) | 
#{D5} (insert tail result #{004E}) | 
#{D6} (insert tail result #{004F}) | 
#{D7} (insert tail result #{0050}) | 
#{D8} (insert tail result #{0051}) | 
#{D9} (insert tail result #{0052}) | 
#{DA} (insert tail result #{00B9}) | 
#{DB} (insert tail result #{00FB}) | 
#{DC} (insert tail result #{00FC}) | 
#{DD} (insert tail result #{00F9}) | 
#{DE} (insert tail result #{00FA}) | 
#{DF} (insert tail result #{00FF}) | 
#{E0} (insert tail result #{005C}) | 
#{E1} (insert tail result #{00F7}) | 
#{E2} (insert tail result #{0053}) | 
#{E3} (insert tail result #{0054}) | 
#{E4} (insert tail result #{0055}) | 
#{E5} (insert tail result #{0056}) | 
#{E6} (insert tail result #{0057}) | 
#{E7} (insert tail result #{0058}) | 
#{E8} (insert tail result #{0059}) | 
#{E9} (insert tail result #{005A}) | 
#{EA} (insert tail result #{00B2}) | 
#{EB} (insert tail result #{00D4}) | 
#{EC} (insert tail result #{00D6}) | 
#{ED} (insert tail result #{00D2}) | 
#{EE} (insert tail result #{00D3}) | 
#{EF} (insert tail result #{00D5}) | 
#{F0} (insert tail result #{0030}) | 
#{F1} (insert tail result #{0031}) | 
#{F2} (insert tail result #{0032}) | 
#{F3} (insert tail result #{0033}) | 
#{F4} (insert tail result #{0034}) | 
#{F5} (insert tail result #{0035}) | 
#{F6} (insert tail result #{0036}) | 
#{F7} (insert tail result #{0037}) | 
#{F8} (insert tail result #{0038}) | 
#{F9} (insert tail result #{0039}) | 
#{FA} (insert tail result #{00B3}) | 
#{FB} (insert tail result #{00DB}) | 
#{FC} (insert tail result #{00DC}) | 
#{FD} (insert tail result #{00D9}) | 
#{FE} (insert tail result #{00DA}) | 
#{FF} (insert tail result #{009F}) | 
#{37} (insert tail result #{0004}) | 
#{2D} (insert tail result #{0005}) | 
#{2E} (insert tail result #{0006}) | 
#{2F} (insert tail result #{0007}) | 
#{2F} (insert tail result #{0007}) | 
#{16} (insert tail result #{0008}) | 
#{05} (insert tail result #{0009}) | 
#{25} (insert tail result #{000A}) | 
#{3C} (insert tail result #{0014}) | 
#{3D} (insert tail result #{0015}) | 
#{32} (insert tail result #{0016}) | 
#{26} (insert tail result #{0017}) | 
#{3F} (insert tail result #{001A}) | 
#{27} (insert tail result #{001B}) | 
#{40} (insert tail result #{0020}) | 
#{5A} (insert tail result #{0021}) | 
#{7F} (insert tail result #{0022}) | 
#{7B} (insert tail result #{0023}) | 
#{5B} (insert tail result #{0024}) | 
#{6C} (insert tail result #{0025}) | 
#{50} (insert tail result #{0026}) | 
#{7D} (insert tail result #{0027}) | 
#{4D} (insert tail result #{0028}) | 
#{5D} (insert tail result #{0029}) | 
#{5C} (insert tail result #{002A}) | 
#{4E} (insert tail result #{002B}) | 
#{6B} (insert tail result #{002C}) | 
#{60} (insert tail result #{002D}) | 
#{60} (insert tail result #{002D}) | 
#{4B} (insert tail result #{002E}) | 
#{4B} (insert tail result #{002E}) | 
#{61} (insert tail result #{002F}) | 
#{61} (insert tail result #{002F}) | 
#{F0} (insert tail result #{0030}) | 
#{F1} (insert tail result #{0031}) | 
#{F2} (insert tail result #{0032}) | 
#{F3} (insert tail result #{0033}) | 
#{F4} (insert tail result #{0034}) | 
#{F5} (insert tail result #{0035}) | 
#{F6} (insert tail result #{0036}) | 
#{F7} (insert tail result #{0037}) | 
#{F8} (insert tail result #{0038}) | 
#{F9} (insert tail result #{0039}) | 
#{7A} (insert tail result #{003A}) | 
#{5E} (insert tail result #{003B}) | 
#{4C} (insert tail result #{003C}) | 
#{7E} (insert tail result #{003D}) | 
#{6E} (insert tail result #{003E}) | 
#{6F} (insert tail result #{003F}) | 
#{7C} (insert tail result #{0040}) | 
#{AD} (insert tail result #{005B}) | 
#{E0} (insert tail result #{005C}) | 
#{E0} (insert tail result #{005C}) | 
#{BD} (insert tail result #{005D}) | 
#{5F} (insert tail result #{005E}) | 
#{5F} (insert tail result #{005E}) | 
#{6D} (insert tail result #{005F}) | 
#{6D} (insert tail result #{005F}) | 
#{79} (insert tail result #{0060}) | 
#{C0} (insert tail result #{007B}) | 
#{C0} (insert tail result #{007B}) | 
#{4F} (insert tail result #{007C}) | 
#{D0} (insert tail result #{007D}) | 
#{D0} (insert tail result #{007D}) | 
#{A1} (insert tail result #{007E}) | 
copy c 1 skip (insert tail result join #{00} c)
]