![]() |
|
|
|
|||||||||||||||||||||||||
|
|
#1 |
Üyelik Tarihi: Nov 2020 Üye No: 1 Mesajlar: 2.990 Nerden: 34 İstanbul Cinsiyet: Erkek Web Site: irc.yuvam.net IRC Sunucu: Erkek IRC Radyo: RadyoOzlu Aldığı Beğeni: 98 Beğendikleri: 209
|
• Klasör: -> QwebIRC
• Dosya: -> (ircclient.py) BULUN Kod: def utf8_iso8859_1(data, table=dict((x, x.decode("iso-8859-1")) for x in map(chr, range(0, 256)))):
return (table.get(data.object[data.start]), data.start+1)
codecs.register_error("mixed-iso-8859-1", utf8_iso8859_1)
def irc_decode(x):
try:
return x.decode("utf-8", "mixed-iso-8859-1")
except UnicodeDecodeError:
return x.decode("iso-8859-1", "ignore")DEGISTIRIN, Kod: def utf8_iso8859_9(data, table=dict((x, x.decode("iso-8859-9")) for x in map(chr, range(0, 256)))):
return (table.get(data.object[data.start]), data.start+1)
codecs.register_error("mixed-iso-8859-9", utf8_iso8859_9)
def irc_decode(x):
try:
return x.decode("utf-8", "mixed-iso-8859-9")
except UnicodeDecodeError:
return x.decode("iso-8859-9", "ignore") |
|
|
|
![]() |
|
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Seçenekler | Arama |
| Stil | |
| Forum | Bilgilendirme |
|
Powered by vBulletin® Version 3.8.6 Copyright ©2000 - 2023, Jelsoft Enterprises Ltd. Search Engine Friendly URLs by vBSEO 3.6.1 Forum Barinma ve Kurucusu: www.ozlubilisim.com İRCForumun.NET Forum Sahibi: karizma_ |
|