ID: 39244 User updated by: j dot hakvoort at publiceren dot net Reported By: j dot hakvoort at publiceren dot net -Status: Wont fix +Status: Closed Bug Type: PCRE related Operating System: Linux PHP Version: 4.4.4 New Comment:
This bug can be closed. Previous Comments: ------------------------------------------------------------------------ [2006-10-25 12:30:33] [EMAIL PROTECTED] Unicode support is on its way and will appear in PHP6. I have to wait until then. ------------------------------------------------------------------------ [2006-10-25 12:26:27] j dot hakvoort at publiceren dot net Hi! I don't know PCRElib, but I am not aspecting that it has anything to do with the issue as you mention "functions" reading unicode. It's not about that, it's about that PHP can't be started when the php script document is encoded in utf-8 format. This will cause 3 characters to print so that sending headers isn't possible anymore.... Also, PHP doesn't recognize UTF-8 characters in functions, but this is not the main issue I am refering to with the BOM of UTF-8 encoded documents. Best Regards, Jan Jaap Hakvoort ------------------------------------------------------------------------ [2006-10-25 12:11:25] [EMAIL PROTECTED] PCRE functions in PHP are just wrappers for PCRElib. If PCRElib is unable to read Unicode texts with BOM, then it's PCRElib fault. But I guess you shouldn't be using Notepad in the first place. ------------------------------------------------------------------------ [2006-10-25 12:08:07] j dot hakvoort at publiceren dot net Ok, I found out that it's due to the folowing BUG in PHP...... UTF-8 encoded documents have 3 characters on top of the document wich specify the UTF-8, this is called BOM. These characters might be needed, but to get PHP working it would be required to remove these characters. The only solution to remove these characters I've found is by using special editors. This will take a huge amount of time! Is there no other solution for this?? Why doesn't PHP read UTF-8 encoded files??? Best Regards, Jan Jaap Hakvoort ------------------------------------------------------------------------ [2006-10-24 09:55:58] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/39244 -- Edit this bug report at http://bugs.php.net/?id=39244&edit=1