🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #366

Re: Kodowanie znaków w Tkinter

#366
From: Jarek Zgoda
Date: Sun, 15 Dec 2002 12:19
25 lines
1800 bytes
Dnia Sun, 15 Dec 2002 12:07:24 +0100
"Maciej Wisniowski" <maciej.wisniowski@euro.coig.pl> pisze:

> Może spróbuj zamiast:
> print self.entry.get().encode('ISO-8859-2')
> 
> napisać:
> 
> print self.entry.get().encode('iso8859-2')
> 
> bo może po prostu nie znalazł takiego kodowania???
> Albo spróbuj innych kodowań... Nie jestem pewny jak to działa ale w
> foderze pythona: lib/encodings są różne możliwie formaty...

W pliku aliases.py jest zdefiniowany alias 'iso_8859_2':
'iso8859_2'. Użyłem obydwu - wynik ten sam.

-- 
Jarek Zgoda
http://www.zgoda.biz/
Life's probably easier if you're a Big Fucking Idiot (tm), but you
cannot expect that nobody will notice. (Frederik Lundh, 01.12.2002)

-- 
Serwis Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/
Technical Details
Message-ID: <20021215131919.74f4da75.jzgoda@usun.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!mimuw.edu.pl!news.mimuw.edu.pl!news.internetia.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail
References: <20021213211848.34fd5392.jzgoda@usun.gazeta.pl> <atgc8t$eho$1@news.tpi.pl> <20021215093338.00cb9abe.jzgoda@usun.gazeta.pl> <athnqd$5is$1@news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!mimuw.edu.pl!news.mimuw.edu.pl!news.internetia.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail
From: Jarek Zgoda <jzgoda@usun.gazeta.pl>
Newsgroups: pl.comp.lang.python
Subject: Re: Kodowanie znaków w Tkinter
Date: Sun, 15 Dec 2002 13:19:19 +0100
Organization: Groove Family Cyco
Lines: 25
Message-ID: <20021215131919.74f4da75.jzgoda@usun.gazeta.pl>
References: <20021213211848.34fd5392.jzgoda@usun.gazeta.pl> <atgc8t$eho$1@news.tpi.pl> <20021215093338.00cb9abe.jzgoda@usun.gazeta.pl> <athnqd$5is$1@news.tpi.pl>
NNTP-Posting-Host: qg120.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: news.gazeta.pl 1039955594 866 80.50.244.120 (15 Dec 2002 12:33:14 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Sun, 15 Dec 2002 12:33:14 +0000 (UTC)
X-Newsreader: Sylpheed version 0.8.6claws (GTK+ 1.2.10; )
X-User: jzgoda
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit