Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61898
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'that?': 0.05; 'subject:Python': 0.06; 'think,': 0.07; 'bytes.': 0.09; 'compact': 0.09; 'migration': 0.09; 'solution,': 0.09; 'subject:language': 0.09; 'cc:addr:python-list': 0.11; 'stored': 0.12; 'windows': 0.15; '"*"': 0.16; 'behaviour.': 0.16; 'character.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'pairs,': 0.16; 'subject:programming': 0.16; 'surrogate': 0.16; 'usage,': 0.16; 'win7': 0.16; 'years)': 0.16; 'wrote:': 0.18; 'fit': 0.20; 'memory': 0.22; '(in': 0.22; 'cc:addr:python.org': 0.22; 'days,': 0.24; 'unicode': 0.24; 'fine': 0.24; "haven't": 0.24; 'looks': 0.24; 'cc:2**0': 0.24; '15,': 0.26; '----------': 0.26; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'am,': 0.29; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'easier': 0.31; '>>>>': 0.31; 'explained': 0.31; 'probably': 0.32; 'maybe': 0.34; 'received:google.com': 0.35; 'there': 0.35; 'shows': 0.36; 'behind': 0.37; 'experience,': 0.37; 'system,': 0.38; 'does': 0.39; 'how': 0.40; 'skip:u 10': 0.60; 'till': 0.61; 'back': 0.62; 'high': 0.63; 'term': 0.63; 'more': 0.64; 'different': 0.65; 'world': 0.66; 'actually,': 0.84; 'borrow': 0.84; 'to:none': 0.92; 'lot,': 0.93; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=vD+VxftqP4miS4fDuxiq366/LD/YrdTJv2N90VVDAyk=; b=SQUnvVp7reSikrxjk+8bBvnQ23VKAfmgUVjAL5j21DBCjglM/QqV1ZMoR35B/oxDf+ GTU448oX5MDCKjf/INiuJLIC4PXXZAA5MkPrJI7DQyM/nq4UWuOvtzZIclV99VYjUTRW 4F3LkB53qpoNU/XEeThZfgYL0KuxyhztlVqX1MCZ1bn5+Mgw0Y2pbyfpw0CRPegzF2Ds TWEQ8Zv8Pn7TZlvehsavBV9ormpZgBQvg2HUuyXYk2pLjOSsMU5IDn8a6KwSjSkVMLIO WV35BF0/9iJWC52gKidFZVrE35FhosYHUKcgAbx4oahgocnLRzbi2Ev4GFfs0R7bxPnH W81A== |
| MIME-Version | 1.0 |
| X-Received | by 10.66.102.39 with SMTP id fl7mr9506009pab.43.1387030500636; Sat, 14 Dec 2013 06:15:00 -0800 (PST) |
| In-Reply-To | <dd8997a6-ea2e-4434-9c75-19677a347e20@googlegroups.com> |
| References | <CAHVvXxS23g8dxO23pPTmXLo0z=QzJY_CjwMUtJcvAVfRhZa8bA@mail.gmail.com> <201312090824.25211.gheskett@wdtv.com> <52A78F6F.3060507@stoneleaf.us> <CABicbJKoN9fV48yskd5wqE79vsb5=nPGfwgOTCO+fCFMG7g8qw@mail.gmail.com> <mailman.3872.1386751441.18130.python-list@python.org> <d0aef6f2-9091-4f27-b378-8e24257d3983@googlegroups.com> <mailman.3882.1386758747.18130.python-list@python.org> <f62baa3e-d286-4f7b-b6db-71cafb0523d3@googlegroups.com> <mailman.4005.1386870936.18130.python-list@python.org> <5b62c6f8-fb92-48ef-a59a-6025b9b39994@googlegroups.com> <CAPTjJmqcb9szh-H7=GQ8jcJy+eUt4VgDkeq2vj2Rs9764zOv4Q@mail.gmail.com> <mailman.4098.1386977455.18130.python-list@python.org> <dd8997a6-ea2e-4434-9c75-19677a347e20@googlegroups.com> |
| Date | Sun, 15 Dec 2013 01:15:00 +1100 |
| Subject | Re: Experiences/guidance on teaching Python as a first programming language |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4114.1387030870.18130.python-list@python.org> (permalink) |
| Lines | 39 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1387030870 news.xs4all.nl 2846 [2001:888:2000:d::a6]:57247 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61898 |
Show key headers only | View raw
On Sun, Dec 15, 2013 at 1:03 AM, <wxjmfauth@gmail.com> wrote:
> D:\>chcp 65001
> Page de codes active : 65001
> D:\>echo "*"
> "*"
> D:\>
>
>
>>>> locale.getdefaultlocale()
> ('fr_CH', 'cp1252')
>
> ----------
>
> In my understanding and experience, in the MS world
> (desktop, intel), today:
> Unicode == utf-16-le
You still haven't explained how Win7 is different from every other
Windows going back as far as NT. Back in the NT days, Windows had
"Unicode" (really UCS-2 - it predated Unicode 2.0, so that was correct
for a few years) while OS/2 had DBCS. Hindsight shows that OS/2 did
kinda get left behind there :) Though maybe it would be easier to
force migration from DBCS to true Unicode than from UTF-16 or UCS-2
where it looks fine till you hit an astral character. Now how is Win7
different from NT? And where does the current "oldstable" Windows (if
I may borrow a term from Debian), XP, fit into that?
> If you think, utf-16, because of surrogate pairs, is
> not a proper solution, the single choice is utf-32.
>
> You may not be aware, you are already using utf-32
> probably much more than you think, (in a correct way).
Yeah. I use UTF-32 a lot, often stored in ways that elide unnecessary
00 bytes. It's a pretty good system, actually, giving high
performance, compact memory usage, and correct behaviour. Still don't
know what this has to do with Win7.
ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-11 19:43 +1100
Re: Experiences/guidance on teaching Python as a first programming language wxjmfauth@gmail.com - 2013-12-11 01:39 -0800
Re: Experiences/guidance on teaching Python as a first programming language Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-11 10:05 +0000
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-11 21:45 +1100
Re: Experiences/guidance on teaching Python as a first programming language alex23 <wuwei23@gmail.com> - 2013-12-12 15:38 +1000
Re: Experiences/guidance on teaching Python as a first programming language wxjmfauth@gmail.com - 2013-12-12 01:17 -0800
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-12 21:28 +1100
Re: Experiences/guidance on teaching Python as a first programming language wxjmfauth@gmail.com - 2013-12-12 06:34 -0800
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-13 01:47 +1100
Re: Experiences/guidance on teaching Python as a first programming language wxjmfauth@gmail.com - 2013-12-12 08:20 -0800
Re: Experiences/guidance on teaching Python as a first programming language Ned Batchelder <ned@nedbatchelder.com> - 2013-12-12 11:58 -0500
Re: Experiences/guidance on teaching Python as a first programming language Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-12 15:01 +0000
Re: Experiences/guidance on teaching Python as a first programming language Ned Batchelder <ned@nedbatchelder.com> - 2013-12-12 08:52 -0500
Re: Experiences/guidance on teaching Python as a first programming language Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-12 14:30 +0000
Re: Experiences/guidance on teaching Python as a first programming language Terry Reedy <tjreedy@udel.edu> - 2013-12-12 12:55 -0500
Re: Experiences/guidance on teaching Python as a first programming language wxjmfauth@gmail.com - 2013-12-13 08:15 -0800
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-14 03:27 +1100
Re: Experiences/guidance on teaching Python as a first programming language wxjmfauth@gmail.com - 2013-12-13 10:27 -0800
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-14 05:32 +1100
Re: Experiences/guidance on teaching Python as a first programming language wxjmfauth@gmail.com - 2013-12-13 11:30 -0800
Re: Experiences/guidance on teaching Python as a first programming language Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-13 16:39 +0000
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-14 03:43 +1100
Re: Experiences/guidance on teaching Python as a first programming language rusi <rustompmody@gmail.com> - 2013-12-13 08:54 -0800
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-14 03:57 +1100
Re: Experiences/guidance on teaching Python as a first programming language Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-13 17:02 +0000
Re: Experiences/guidance on teaching Python as a first programming language Terry Reedy <tjreedy@udel.edu> - 2013-12-13 17:49 -0500
Re: Experiences/guidance on teaching Python as a first programming language Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-14 09:58 +0000
Re: Experiences/guidance on teaching Python as a first programming language Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-13 23:10 +0000
Re: Experiences/guidance on teaching Python as a first programming language Terry Reedy <tjreedy@udel.edu> - 2013-12-13 18:30 -0500
Re: Experiences/guidance on teaching Python as a first programming language wxjmfauth@gmail.com - 2013-12-14 06:03 -0800
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-15 01:15 +1100
Re: Experiences/guidance on teaching Python as a first programming language Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-14 14:38 +0000
CP65001 fails (was re: ...) Terry Reedy <tjreedy@udel.edu> - 2013-12-14 13:43 -0500
Re: CP65001 fails (was re: ...) wxjmfauth@gmail.com - 2013-12-14 12:48 -0800
Re: CP65001 fails (was re: ...) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-14 21:05 +0000
Re: CP65001 fails (was re: ...) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-14 22:51 +0000
Re: CP65001 fails (was re: ...) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-14 23:32 +0000
Re: CP65001 fails (was re: ...) rusi <rustompmody@gmail.com> - 2013-12-14 20:42 -0800
Re: CP65001 fails (was re: ...) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-15 05:00 +0000
Re: CP65001 fails (was re: ...) rusi <rustompmody@gmail.com> - 2013-12-14 21:24 -0800
Re: CP65001 fails (was re: ...) Chris Angelico <rosuav@gmail.com> - 2013-12-15 15:48 +1100
Re: CP65001 fails (was re: ...) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-15 14:25 +0000
Re: CP65001 fails (was re: ...) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-15 02:39 +0000
Re: CP65001 fails (was re: ...) Terry Reedy <tjreedy@udel.edu> - 2013-12-15 00:07 -0500
Re: CP65001 fails (was re: ...) wxjmfauth@gmail.com - 2013-12-15 00:26 -0800
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-14 10:38 +1100
Re: Experiences/guidance on teaching Python as a first programming language Ethan Furman <ethan@stoneleaf.us> - 2013-12-13 15:17 -0800
Re: Experiences/guidance on teaching Python as a first programming language Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-13 23:58 +0000
Re: Experiences/guidance on teaching Python as a first programming language Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-14 10:00 +0000
Re: Experiences/guidance on teaching Python as a first programming language Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-14 13:21 +0000
Re: Experiences/guidance on teaching Python as a first programming language Steve Simmons <square.steve@gmail.com> - 2013-12-11 12:33 +0100
Re: Experiences/guidance on teaching Python as a first programming language Chris Angelico <rosuav@gmail.com> - 2013-12-11 23:02 +1100
Re: Experiences/guidance on teaching Python as a first programming language Steve Simmons <square.steve@gmail.com> - 2013-12-11 13:30 +0100
Re: Experiences/guidance on teaching Python as a first programming language Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-11 11:17 +0000
csiph-web