Dreamweaver vs Notepad wp-config-sample.php
-
hello there!
I wanted to modify the default wordpress installation sample file “wp-config-sample.php” by opening it and saving it without any changes and guess what; dreamweaver CS3 modifies the encoding of this file making it un-usable to wordpress installation (required by “setup-config.php” which clones it into “wp-config.php” in line 169).
Since this is strange behavior, I tried to open this file in notepad and save it in different encoding, and her’s the results;
save as –> ANSI –> works
save as –> Unicode –> does not work
save as –> Unicode Big Endian–> does not work
save as –> UTF –> works
so at least saving in ANSI or UTF encoding works, but, in Dreamweaver, whatever I try, it doesn’t work, does that mean Notepad is more “intelligent” than DW!!
The file “wp-config-sample.php” doesn’t contain any header information, just some PHP variables to define that’s maybe why DW miss-understands it (it doesn’t find any header encoding information in the file).
any help?
NB: I checked the settings in the DW preferences and tried saving using the BOM signature and without it.. but always the same problem.
- The topic ‘Dreamweaver vs Notepad wp-config-sample.php’ is closed to new replies.