in reply to Re^2: perplexing inconsistency using RC4 and unpack
in thread perplexing inconsistency using RC4 and unpack
You are suffering from UTF-8 expansion:
#!/usr/bin/perl -wl print unpack "U0H*", "\x{BF}"; print unpack "U0H*", "\x{FF}"; print unpack "U0H*", "\x{FA}"; __END__ c2bf c3bf c3ba
Now you just need to figure out where the UTF-8 expansion is sneaking in.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perplexing inconsistency using RC4 and unpack (UTF-8)
by oddmedley (Novice) on Aug 01, 2009 at 14:44 UTC |