When I save a html or php file and look on it with a debugger, i see the first two Bytes are FF and FE. This seems to be a problem, because i get no results with internal or external browser. When I write a file in a Editor and load this in DEV-PHP everything works.
Further, I see, that every Char, created with DEV-PHP is saved with two Bytes. What can I do ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
please informations about used version of dev-php.
dev-php save files in unicode format. unicode use two bytes per char. the preview problem depends not from this. may be there is a problem with blanks in the file paths. im working at this to fix in future versions. please move files and program in a path without blanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
used version is 2.0.11
OS is Windows XP Home
I have no blanks in the file path. I saved the file in c:\
Maybe the problem are the first two byte of the file (hex FF FE) or is it a Problem with the php.ini ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i will kill the BOM probably in the next version of dev-php
google for BOM & UTF for more information. What you mean about? should it be selectable in the options dialog?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
users with the bom-problem can download a developer-version from http://www.mswil.ch/dev-php/download/devphp2011a.exe
for testings. i hope, this is fixed. may me later you can select in options to write files with or without boms
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I save a html or php file and look on it with a debugger, i see the first two Bytes are FF and FE. This seems to be a problem, because i get no results with internal or external browser. When I write a file in a Editor and load this in DEV-PHP everything works.
Further, I see, that every Char, created with DEV-PHP is saved with two Bytes. What can I do ?
please informations about used version of dev-php.
dev-php save files in unicode format. unicode use two bytes per char. the preview problem depends not from this. may be there is a problem with blanks in the file paths. im working at this to fix in future versions. please move files and program in a path without blanks.
used version is 2.0.11
OS is Windows XP Home
I have no blanks in the file path. I saved the file in c:\
Maybe the problem are the first two byte of the file (hex FF FE) or is it a Problem with the php.ini ?
http://www.opentag.com/xfaq_enc.htm
of course, im not sure - just asked google about FF FE
:-D
pFa
i will kill the BOM probably in the next version of dev-php
google for BOM & UTF for more information. What you mean about? should it be selectable in the options dialog?
I have the same problem with 2.0.11.
There is a work around if you recompile php. For anyone interested you can find the info here:
http://bugs.php.net/bug.php?id=22108
tnx to aiji for his information....
users with the bom-problem can download a developer-version from http://www.mswil.ch/dev-php/download/devphp2011a.exe
for testings. i hope, this is fixed. may me later you can select in options to write files with or without boms