Non-printable characters in output.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Sergiy
Forum Newbie
Posts: 6
Joined: Mon Jun 03, 2002 3:00 am
Location: Kharkiv, UA
Contact:

Non-printable characters in output.

Post by Sergiy »

When I try to print or echo the "\0" character (0x00) I get " " (0x20) in output.

This is for php 4.2.1. In php 4.06 all was just fine...

I need to print such characters as i keep pictures in MySql database...

Please, give an advice how to print out a binary data without any modifications?[/b]
Post Reply