![]() |
|
|
|
#1 |
|
タネル
![]()
Üyelik tarihi: 23 Ocak 2003
Bulunduğu yer: istanbul Mesajlar: 540 WEB Sitesi: * IRC Sunucusu: * İlgi Alanı: Unreal Alınan Beğeni: 361 |
• 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")
![]() |
|
|
Alıntı
|
|
|
#2 |
![]()
Üyelik tarihi: 07 Kasım 2017
Mesajlar: 1 WEB Sitesi: www.destekshell.com IRC Sunucusu: irc.gozum.org İlgi Alanı: Hosting Alınan Beğeni: 0 |
• 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")
merhaba anlatımda oldugu gıbı uyguladım türkce karakter cozumunu sonra qwebirc kılledım telnetten tekrar başlatmak ıstedıgımde baslamıyor yazılar cıkıyor [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] ![]() ![]() başlattıgım komut ise python run.py |
|
|
Alıntı
|
| Etiketler |
| Çözümü, karakter, qwebirc, türkçe |
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Seçenekler | |
| Stil | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
| QwebIRC Türkçe Karakterli Nick Almanın Çözümü! | Entrance | Qwebirc | 12 | 13 Aralık 2018 22:20 |
| QwebIRC'i mobil uyumlu yapma. | Entrance | Qwebirc | 0 | 13 Temmuz 2016 17:19 |
| Türkçe karakterli nickleri linklemenin çözümü. | Entrance | IRCServices Hazır Kodlar | 8 | 24 Kasım 2015 21:22 |
| Ubuntu sistemleri için QwebIRC kurulumu. | Code | Qwebirc | 1 | 24 Kasım 2015 00:55 |
| mIRC Türkçe Karakter Sorunu Çözümü | Toprak | Hazır Kodlar | 0 | 26 Ocak 2015 00:59 |