Thread Hash Struktur senden: Client - Server
(30 answers)
Opened by bloonix at 2006-08-20 07:23
[quote=ptk,19.11.2006, 18:13]perl5.8.0 schaltet für sämtliche I/O-Operationen den utf8-Layer an, falls nicht explizit mit binmode(...) etwas anderes verlangt wird. Versuch mal, LANG=C zu setzen, und ggfs. auch andere locale-Variablen wie LC_ALL und LC_CTYPE.[/quote]
#> export LANG=C #> export LC_ALL=C #> locale LANG=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C Ich habe es auch mit "no utf8;" und -C0 im Shebang versucht, um utf8 zu disablen, ohne Erfolg. Vielleicht liegt es auch einfach an den binären Daten. Wie schon geschrieben, funktioniert die Übertragung des Hashs mit Bencode_XS, Data::Dumper, JSON etc., nur nicht mit Storable, wo die Daten binär sind. =( Kennst du eine andere Lösung als IO::Socket::SSL?\n\n <!--EDIT|opi|1163959221--> What is a good module? That's hard to say.
What is good code? That's also hard to say. One man's Thing of Beauty is another's man's Evil Hack. |