in reply to Re^2: DBIx returns question marks
in thread DBIx/DBI returns question marks
You never explicitly encode your output when you print it, so my guess is that you either have different locales on the machines, or use different terminal settings between the two machines. You can check whether the output of your program is good by hexdumping the output instead of printing raw bytes:
perl -w myprogram | od -x
If the output is the same between the two environments, then the problem is in your terminal settings, installed fonts or something like that. If the output is different, one problem happens somewhere earlier, maybe when writing to the database, reading from the database or outputting the data from your program.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: DBIx returns question marks
by stepamil (Acolyte) on Aug 07, 2011 at 13:42 UTC | |
by Corion (Patriarch) on Aug 07, 2011 at 14:39 UTC | |
by Anonymous Monk on Aug 07, 2011 at 14:44 UTC |