in reply to Re: Re: DBD:ODBC does not return characters with ascii value > 128 correctly (5.8.2 on Solaris -> 5.6.1 on Windows works)
in thread DBD:ODBC does not return characters with ascii value > 128 correctly (5.8.2 on Solaris -> 5.6.1 on Windows works)
Are you sure the data coming back really is mangled incorrectly? It could be that your shell is trying to interpret it and outputs garbage. Try running the string through ord (which gives you the base-10 value of each char) like this:
my $str = "abcdef"; my @nums = map ord, split //, $str; print join ' ', @nums;
The above is tested, though perhaps overly-golfed for to make a good answer :)
----
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: DBD:ODBC does not return characters with ascii value > 128 correctly (5.8.2 on Solaris -> 5.6.1 on Windows works)
by Sandy (Curate) on Feb 24, 2004 at 15:01 UTC | |
by hardburn (Abbot) on Feb 24, 2004 at 16:42 UTC |