Menu

File Format

Help
Michael_7
2005-03-04
2012-12-07
  • Michael_7

    Michael_7 - 2005-03-04

    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 ?

     
    • Urs Mäder

      Urs Mäder - 2005-03-04

      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.

       
    • Michael_7

      Michael_7 - 2005-03-04

      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 ?

       
    • Pierre Fauconnier

      http://www.opentag.com/xfaq_enc.htm

      of course, im not sure - just asked google about FF FE
      :-D

      pFa

       
    • Urs Mäder

      Urs Mäder - 2005-03-04

      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?

       
    • aiji

      aiji - 2005-03-05

      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

       
    • Urs Mäder

      Urs Mäder - 2005-03-05

      tnx to aiji for his information....

       
    • Urs Mäder

      Urs Mäder - 2005-03-05

      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

       

Log in to post a comment.

MongoDB Logo MongoDB