Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94395 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2015-07-22 21:30 +0100 |
| Last post | 2015-07-22 21:30 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Encoding of Python 2 string literals Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-22 21:30 +0100
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2015-07-22 21:30 +0100 |
| Subject | Re: Encoding of Python 2 string literals |
| Message-ID | <mailman.881.1437597031.3674.python-list@python.org> |
On 22/07/2015 11:17, anatoly techtonik wrote:
> Hi,
>
> Is there a way to know encoding of string (bytes) literal
> defined in source file? For example, given that source:
>
> # -*- coding: utf-8 -*-
> from library import Entry
> Entry("текст")
>
> Is there any way for Entry() constructor to know that
> string "текст" passed into it is the utf-8 string?
>
> I need to better prepare SCons for Python 3 migration.
>
> Please, CC.
> --
> anatoly t.
>
>
Without question you are the most appalling person who should by
definition be excluded from the Python community. You refuse point
blank to contribute to the bug tracker, you've already been banned from
several mailing lists, but still you have the audacity to ask for help.
How dare you?
@Rick Johnston considering the above and the fact that I have spoken up
in support of you in the past regarding your knowledge of tkinter/IDLE,
I'm perfectly happy to call a truce regarding our litle spiff over the
last couple of days. Virtual handshake over the Atlantic Ocean?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
Back to top | Article view | comp.lang.python
csiph-web