Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #6225

[Python-de] Fwd: Codepage-Methode vs. UTF8

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Erich Schnoor <eschnoor@multi-matrix.de>
Newsgroups de.comp.lang.python
Subject [Python-de] Fwd: Codepage-Methode vs. UTF8
Date Fri, 16 Aug 2024 15:05:12 +0200
Lines 46
Message-ID <C693088E-2024-4419-9C2B-ACE47FAF8D17@multi-matrix.de> (permalink)
References <172380460020.15839.17014156343755802016@mail.python.org>
Reply-To Wolli Buechel <wjb131@web.de>
Mime-Version 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\))
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding base64
X-Trace news.uni-berlin.de cEsv2MzfbhhV/i0iCELnDA/LjfjUqvde1xg8bVZn0fAA==
Cancel-Lock sha1:GqRAr7lx+OtSMfpblyC0ghVCKDk= sha256:gIfHQpCTLxj40y144te0LJTuc9pbA1jV5JUGRF/Bb1E=
Authentication-Results mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=jintelligence.com header.i=@jintelligence.com header.b=pZ+HnegB; dkim-adsp=none (unprotected policy); dkim-atps=neutral
Authentication-Results mail-01.jintelligence.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=jintelligence.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d= jintelligence.com; h=x-mailer:message-id:to:references:date :subject:mime-version:reply-to:content-type:from; s=dkim; t= 1723813522; x=1726405523; bh=PuFpt682OZxs+Z6jNB6dabaBlSkT2wOLDuP VscSC3ck=; b=pZ+HnegBClL3kFPJrmXmw1bVTF7vMnE2skRO8+fdqFwJauQ4RUF NqlFA4JVDQLbUBfuYBy/ZZKuJqN5kwR1RrsU+k4Gi5hCCoHWv/gSIapCdwIwDrHI UnDfsCnN0ZdnA4lU1QLaiDAERueBbU0HloTgKBw0W/W8iKWBt63s7GC4exawvnsI WHyK1o5Vkc/HUJUr5yftDmG/h98t0itA2nUIbArxL8+qmh0ZYB4aVtBsYwPCpStn Hpd/2G2b1qOnHD3M+/eW5xG045Eu6r6FnbiWpqI3THSJclgCvGxV5c3RWXeIsoIT jKQ39mH7ZVNpQ7R8N8Hz29+6Cqsl7Sr2mww==
X-Virus-Scanned Debian amavis at mail-01.jintelligence.com
X-Mailer Apple Mail (2.3774.500.171.1.1)
Message-ID-Hash SRWTOSUQBMNX4THYDQSMHD2HU2RZW2TI
X-Message-ID-Hash SRWTOSUQBMNX4THYDQSMHD2HU2RZW2TI
X-MailFrom eschnoor@multi-matrix.de
X-Mailman-Rule-Misses dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-python-de.python.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Content-Filtered-By Mailman/MimeDel 3.3.10b1
X-Mailman-Version 3.3.10b1
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
Archived-At <https://mail.python.org/archives/list/python-de@python.org/message/SRWTOSUQBMNX4THYDQSMHD2HU2RZW2TI/>
List-Archive <https://mail.python.org/archives/list/python-de@python.org/>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Owner <mailto:python-de-owner@python.org>
List-Post <mailto:python-de@python.org>
List-Subscribe <mailto:python-de-join@python.org>
List-Unsubscribe <mailto:python-de-leave@python.org>
Xref csiph.com de.comp.lang.python:6225

Show key headers only | View raw


Hallo, Herr Büchel,
hier komnmt der Code:

            if modus == "x":

                ziffer = input(" insert <index>number >  ")
                point = nachdez(basis,ziffer)
                point = int(point)
                zeichen = chr(point)
                
                digit = nachsys(2,point)
                print(" Digit: ",digit)

                print()
                print("                                            sign:  ",zeichen)
                print("                                          point:  ",point )                  
                print("                                          binär:  ",digit)
                lg = len(digit)
                print("                                             bit:   ",lg)                                         

mfg
Erich Schnoor

> Anfang der weitergeleiteten Nachricht:
> 
> Von: Wolli Buechel über python-de <python-de@python.org>
> Betreff: [Python-de] Re: Fwd: Codepage-Methode vs. UTF8
> Datum: 16. August 2024 um 12:36:40 MESZ
> An: python-de@python.org
> Antwort an: Wolli Buechel <wjb131@web.de>
> 
> Hallo Herr Schnoor,
> 
> danke für Ihre  Antwort. 
> 
> Ich hätte es vorgezogen,  Sie hätten mir auf Deutsch  (statt mit CPM-Output-Geschnipsel) geantwortet. Das Geschnipsel muß ich mir jetzt mühsam freihändig übersetzen:
> 
> Meine Frage lautete: 
> Interpretiert CPM diesen Indexstring aus zwei Ziffern (èé) als 
> (1) zwei einziffrige oder als 
> (2) ein zweiziffriges Zahlzeichen?
> Ihre Antwort lautet ganz offensichtlich (2)  : Als ein zweiziffriges Zahlzeichen.
> 
> Da ich zuvor auf den "Geheimcode" von UTF8 hingewiesen hatte, wollte ich natürlich herausfinden, 
> wie unterscheidet CPM in einem längeren Indexstring diese beiden Typen von Zahlzeichen (A=einziffrig oder B=zweiziffrig)? 
> 
> Aus Ihrer Antwort schließe ich Folgendes: 
> 
> Ein längerer Indexstring, der aus zwei Typen (A, B) von Zahlzeichen besteht, 
> muß zwischen diese beiden Typen irgendein Zeichen (z.B. Komma, Bindestrich, Leerzeichen, ...) einfügen,
> um sie als Typ A oder als Typ B zu markieren. 
> Also ganz analog, wie man in einem Text zwischen Wörter ein Leerzeichen einfügt.
> 
> Habe ich Ihre Antwort richtig gedeutet?
> 
> W. Büchel
> _______________________________________________
> python-de Mailingliste -- python-de@python.org
> Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an python-de-leave@python.org
> https://mail.python.org/mailman3/lists/python-de.python.org/
> Mitgliedsadresse: eschnoor@multi-matrix.de

Back to de.comp.lang.python | Previous | NextPrevious in thread | Find similar


Thread

[Python-de] Re: Fwd: Codepage-Methode vs. UTF8 "Wolli Buechel" <wjb131@web.de> - 2024-08-16 10:36 +0000
  [Python-de] Fwd: Codepage-Methode vs. UTF8 Erich Schnoor <eschnoor@multi-matrix.de> - 2024-08-16 15:05 +0200

csiph-web