Kontent qismiga oʻtish

Modul:Encode/cp1251

Vikipediya, ochiq ensiklopediya

}}


local CP = {['Ђ']='\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',['Ў']='\161',['ў']='\162',['Ј']='\163',
['¤']='\164',['Ґ']='\165',['¦']='\166',['§']='\167',['Ё']='\168',['©']='\169',
['Є']='\170',['«']='\171',['¬']='\172',['­']='\173',['®']='\174',['Ї']='\175',
['°']='\176',['±']='\177',['І']='\178',['і']='\179',['ґ']='\180',['µ']='\181',
['¶']='\182',['·']='\183',['ё']='\184',['№']='\185',['є']='\186',['»']='\187',
['ј']='\188',['Ѕ']='\189',['ѕ']='\190',['ї']='\191'};

for i = 0xc0, 0xff do
CP[mw.ustring.char(1040-0xc0+i)]=string.char(i)
end

return CP