🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: String, unicode, dziwny problem i 5 pytań - długie

#27523
From: Waldek M.
Date: Sun, 20 Jun 2010 18:25
14 lines
1348 bytes
Dnia Fri, 18 Jun 2010 15:29:19 +0200, Gallus Anonimus napisał(a):
> Reszty teraz nie przeczytam, ale tak na szybko to tu masz buraka w tym
> kodzie. Powinno być tak:
> 
> #-*- coding:utf-8 -*-
> 
> print  u"Gotówka  wysłane"
> 
> Czyli tekst będzie interpretowany jako unikodowy (literka u przed
> cudzysłwem)

W nowszych Pytongach unicode jest domyślne, o ile dobrze pamiętam.

Waldek
Technical Details
Message-ID: <11cfczm9cq2ac$.dlg@localhost.localdomain>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!news2.ipartners.pl!not-for-mail
References: <hvb8o0$roo$1@node2.news.atman.pl> <josm16dm3smbi6qaunicp4ofioo9nogc1r@4ax.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!news2.ipartners.pl!not-for-mail
From: "Waldek M." <wm@localhost.localdomain>
Newsgroups: pl.comp.lang.python
Subject: Re: String, unicode, dziwny problem i 5 pytań -
 długie
Date: Sun, 20 Jun 2010 20:25:29 +0200
Organization: Mojito.pl
Lines: 14
Message-ID: <11cfczm9cq2ac$.dlg@localhost.localdomain>
References: <hvb8o0$roo$1@node2.news.atman.pl> <josm16dm3smbi6qaunicp4ofioo9nogc1r@4ax.com>
NNTP-Posting-Host: 89.174.106.129
Mime-Version: 1.0
X-Trace: news2.ipartners.pl 1277058324 77949 89.174.106.129 (20 Jun 2010 18:25:24 GMT)
X-Complaints-To: abuse@ipartners.pl
NNTP-Posting-Date: 20 Jun 2010 18:25:24 GMT
X-Antivirus: avast! (VPS 100620-1, 2010-06-20), Outbound message
X-Antivirus-Status: Clean
User-Agent: 40tude_Dialog/2.0.15.1pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit