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!
I am trying to read a log file into a string and tokenize it to get a hold of the values i need. But when I try to print one or several pieces of the string it contains several question marks. Why is this happening?
It could be that the character set used in the file contains unreadable characters, or that the question marks represent whitespace like tabs, newlines, special printing characters etc.
You may be right, the file i'm trying to read is in unicode. I think I read somewhere that php does not support unicode directly, any way to work around this?
Edit: Ok I think it will work if I use the correct unicode characters as spacers, but how do I write unicode tab in php as opposed to the ascii \t?