Thread Term::ReadKey::ReadKey Codierungsfrage (13 answers)
Opened by Kuerbis at 2014-07-06 21:09

GwenDragon
 2014-07-07 15:59
#176331 #176331
User since
2005-01-17
14538 Artikel
Admin1
[Homepage]
user image
Seltsam. Ich habs mal mit deinem Test probiert.

1. Test mit Standardeinstellung (von WIndows 7 ist CP850)

U:>perldev 5.18
--------------------------------------------------------------------------------
5.018002 @ C:\strawberry\perl\bin\perl.exe
--------------------------------------------------------------------------------
PERL-5.18 U:\>test-nok.pl
1.03
2.31
cp850
cp850
cp850
cp850

"\x{0094}" does not map to cp850 at test-nok.pl line 24.
|\x{0094}|
ö
[ö]

PERL-5.18 U:\>


und

1. Test mit Umstellung auf CP1252

U:\>chcp 1252
Aktive Codepage: 1252.

U:\>test-nok.pl
1.03
2.31
cp850
cp850
cp850
cp850

|”|
ö
[ö]

U:\>



XP müsste ich mal in einer VM testen. Dauert aber noch etwas.

Editiert von GwenDragon: richtige Kopie der Konsolenausgabe; Hinweis auf Test mit XP
Last edited: 2014-07-07 16:19:34 +0200 (CEST)
die Drachin, Gwendolyn


Unterschiedliche Perl-Versionen auf Windows (fast wie perlbrew) • Meine Perl-Artikel

View full thread Term::ReadKey::ReadKey Codierungsfrage