Thread String manipulation (30 answers)
Opened by Haselnuss992 at 2018-10-15 15:39

Linuxer
 2018-10-17 16:24
#188989 #188989
User since
2006-01-27
3890 Artikel
HausmeisterIn

user image
Mein Test war mit:
Code: (dl )
This is perl 5, version 28, subversion 0 (v5.28.0) built for MSWin32-x64-multi-thread



Neuer Test mit Version 5.10.1:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$ file -i utf8.pl
utf8.pl: text/x-perl; charset=utf-8

$ perl utf8.pl
utf8 "\xE2" does not map to Unicode at utf8.pl line 11, <DATA> chunk 1.
utf8 "\xAC" does not map to Unicode at utf8.pl line 11, <DATA> chunk 2.
utf8 "\x82" does not map to Unicode at utf8.pl line 11, <DATA> chunk 3.
utf8 "\xE2" does not map to Unicode at utf8.pl line 11, <DATA> chunk 4.
utf8 "\xAC" does not map to Unicode at utf8.pl line 11, <DATA> chunk 5.
$VAR1 = [
"\x{2080}",
"\x{c880}\x{2000}",
"\x{ac}\x{c000}",
"\x{2080}",
"\x{c280}
"
];

$ perl -v

This is perl, v5.10.1 (*) built for i686-linux-thread-multi


Andere Versionen habe ich derzeit nicht zur Hand.
Last edited: 2018-10-17 16:29:07 +0200 (CEST)
meine Beiträge: I.d.R. alle Angaben ohne Gewähr und auf Linux abgestimmt!
Die Sprache heisst Perl, nicht PERL. - Bitte Crossposts als solche kenntlich machen!

View full thread String manipulation