Thread JSON und utf8 (25 answers)
Opened by rosti at 2018-05-06 18:58

rosti
 2018-05-07 20:24
#188359 #188359
User since
2011-03-19
3213 Artikel
BenutzerIn
[Homepage]
user image
2018-05-07T17:59:15 haj
Nun auch noch use bytes;? Da steht, nicht ohne Grund,
Use of this module for anything other than debugging purposes is strongly discouraged.

Ich geb's jetzt auf. Viel Glück weiterhin!


Was ich hier mache, ist Debugging. Perl lädt dieses Modul übrigens wie ein print Dumper \%INC; zeigt auch ohne daß man es explizit angegeben hat.

Quote
DESCRIPTION
The "use bytes" pragma disables character semantics for the rest of the
lexical scope in which it appears.


Genau das ist zu tun wenn Zeichenketten nach STDOUT, Sockets u.a. Handles gehen. Was man mit JSON in jedem Fall vor hat!




MfG

PS: http://rolfrost.de/typisierung.html

passend zum Thema.
Last edited: 2018-05-07 21:24:12 +0200 (CEST)

View full thread JSON und utf8