DW destroys file encoding while saving them

hello there!
I wanted to modifiy the latest wordpress 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 un-usable to wordpress installation.
I tried to open this file in notepad and save it in defferent encoding, and her's the results;
save as --> ANSI --> works
save as --> Unicode --> does not work
save as --> Unicode Bg 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 advanced than DW!!
the file "wp-config-sample.php" doesn't contain any header information, just some PHP variables to define.
Dreamweaver CS 3 acts strange mayb when it doesn't find any header encoding information in the file.
any help?
NB: I checked the settings in the preferences and tried saving using the BOM segnitureand without it.. but always the same probleme

Well, I discovered what was missing around with my code; the line break!
if you go to Edit --> Preferences --> Code format --> you ahve to set line break type to CR LF (Windows).
it was set to CR macintosh.
have a nice day.

Similar Messages

  • How to retain file name while saving file on archive servers

    Hi Experts,
    I am using function modules:
    ARCHIVOBJECT_CREATE_TABLE and ARCHIV_CONNECTION_INSERT for inserting a file to archive server and for linking it with a document.
    Then I am reading the URL using FM: SCMS_AO_URL_READ. When I get this URL and download that file, the file name will be always defaulted to 'pclHTTP.dll'. I debugged these FMs to a certain extent and found that this name comes from CREP_HTTP-HTTP_SCRPT table.
    Is there any way I can retain the file name while saving it so that when I read the URL it has correct file name in it?
    Please help.
    Regards,
    Anand Kolte

    Hi Max,
    In case when downloading one file it is fine. But if I want to download 10 files at once and later if I go to my downloads, every file will be having similar name. Unless we open the file, we cannot know what file it is.
    Regards,
    Anand

  • Automatic: opening files in CS3, saving them, and exiting

    Dear Adobe CS3 gurus, is the following task achievable for Adobe CS3?
    Task is: I want to open Adobe CS3 app from windows command prompt (use start xxx etc); then, I want Adobe CS3 app to look into a specific folder, open all files in there, save them back (in the same folder), and exit.
    Is the above task possible to do in Windows? If yes, how to do it?
    TIA,
    aab-aab

    But in order to use File/Automate/Batch it is necessary to have Photoshop open. And the original question was asking if it is possible to have Photoshop itself open, then process, then exit.
    I cannot give you a lot of details on this, because I have never done it. But it is possible to create an action that does all of your processing and then save that action as a "droplet" which is an executable. Then, all that is required is for you to drop files onto the droplet icon and Photoshop will open, process and close. I don't know the syntax to get Photoshop to do what you want done from the command prompt.

  • Permanently deleting emails from Gmail, while saving them in AppleMail

    I'm trying to figure out how to permanently delete emails from my Gmail All Mail folder without deleting them from the folders I moved them to in the On My Computer area of my AppleMail on my MacBook Pro.  I like the IMAP syncing function in Gmail that keeps my iphone, ipad and MacBook all synced from an email perspective.  However, I don't like my emails living on Gmail's servers any longer than they have to.  I don't want them living on Apple's servers either, so I'm not using iCloud. 
    I only want emails to remain on the Gmail servers for as long as I keep them in either my inbox or sent items.  I use those two folders as my holding zones for items that still require action.  Once I have done what needs to be done in regard to an email, I either delete it or I move it to a folder under On My Computer on my MacBook Pro for possible later reference.  If I move an email to a folder, I never want it to be deleted.  I use a Time Capsule to back up my Macbook through Time Machine, so I'm not worried about losing my historical email files from a hard drive problem.  I also back up the MacBook quarterly to a separate hard drive which I store offsite in case a catastrophe at my home destroys both my MacBook and the Time Capsule.
    I have about 8 years of email history that I imported from my old PC into the MacBook in AppleMail and I now want to clean out the All Mail account in my Gmail to delete all those emails, but I need them to remain in my folder system on the MacBook.
    Can anyone tell me how to delete all mail from the Gmail account without having the IMAP function delete them from my MacBook Pro?
    Here's an added complication.  When I move an email from my inbox to a folder on my MacBook, I do want that email to disappear from my ipad and my iphone. In essence, I like to manage all my emails from my MacBook Pro if they need to be saved into folders, but I also like to be able to delete emails that don't need to be saved from any of my devices and have that deletion sync to all my devices.
    I haven't been able to figure this one out.  Any help is appreciated.

    Make local folders (On My Mac) and move the mails there, they will delete from the GMail servers but remain accessible in Mail, only in Mail.
    All Mail (in Gmail) is not a folder, it is a label for all your mail, anything in there is also in one of GMails folders, when you delete from All Mail you are deleting the original mail.

  • File Save dialog box not showing correct file name while saving file

    hi
    Currently, after the Submit button is hit, the File Save dialog box is displayed. If the user saves the file and then opens it then the output appears correct however if the user chooses to open the file without saving on the local machine then the correct viewer is not used to display the file. The name of the file is defaulted as qotSCopPrint.jsp and the default file viewer for jsp files is chosen to view the file. The format of the file is obviously not text (it is either pdf or rtf) so the output shows binary characters.

    data : v_repid like sy-repid.
    parameters : p_file like rlgrap-filename.
    initialization.
    v_repid = sy-repid.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
           EXPORTING
                program_name  = v_repid
                dynpro_number = syst-dynnr
                field_name    = 'P_FILE'
           IMPORTING
                file_name     = p_file.
    Message was edited by:
            Chandrasekhar Jagarlamudi

  • Changing the default file name while saving the PDF interactive form

    Hi All,
    I am generating an Interactive PDF form using webdynpro, but when I try to save the PDF to my local machine the default file name comes as "<b>unknown.pdf</b>" so I have to manually go and enter the name before saving it.
    Is there any way to change this default name so that I don't have to manually edit the file name each time when I want to save the generated PDF interactive form?
    Please reply soon.
    Thanks in advance!

    I am running into the same issue. Setting the desname parameter (e.g. desname=temp.pdf) doesn't have any effect. Has anyone found a solution to this?
    Thanks,
    Brian

  • JFile Chooser - Add automatic file extension while Saving

    Hello,
    I have a JFileChooser, which I use for saving output from my program.
    Problem is whenever I save a new file I have to manually specify its extension, otherwise I get an undefined file with no extensions.
    I want my default extension to be ".txt".
    Any ideas on what method to use? Is this a trivial issue or a complicated one?
    Thank you,
    Berkan

    What about this? Not tested.
    import java.awt.Component;
    import java.io.File;
    import javax.swing.JFileChooser;
    public class FilenameGetter {
        private JFileChooser chooser = new JFileChooser();
        public File getFileToSaveTxt(Component parent) {
         if (JFileChooser.APPROVE_OPTION == chooser.showSaveDialog(parent)) {
             File chosenFile = chooser.getSelectedFile();
             if (chosenFile.getName().endsWith(".txt")) {
              return chosenFile;
             } else {
              return new File(chosenFile.getParentFile(), chosenFile
                   .getName()
                   + ".txt");
         } else {
             return null;
    }Piet

  • How to put current date in File name while saving PDF file.

    Hi expert,
    A report is scheduled for broadcasting  in PDF format . User wants it should have current date in its file name.
    Now system generated file name is Z_XXX_YYY_0000.pdf , but it should have Z_XXX_YYY_10012012.pdf or in any date format.
    Regards,
    Anand Mehrotra.

    First, how to best change the name of the folder. In Library view, there is a Folders panel within the lest hand side panel. If you select the folder and bring up the context menu, you can select the rename option to change the name/date of the folder. Lightroom will also cause the name to be changed on the HDD so both Lightroom as well as the OS will know about the change. This is the simplest way to handle folder name changes.
    Renaming the photos contained within the folder is a bit trickier. I have tried the Lightroom batch rename function, which should work by the way, I encountered some issues in which Lightroom wanted to substitute a sequence number, starting at 0001 rather than use the starting number I wanted to use. This was in Lightroom 4.x and I ended up having to manually rename files. To rename the files within the folder, select the folder to display the grid view of the images within that folder. Next, select all of the photos you want to rename and then select Library/Rename Photos (must be in Library mode) or just press the F2 key. This will open a Rename Photo dialog. Use the drop down box to select your naming scheme (or custom, which will open the Filename Template Editor where you can build your own template. From there, just click to confirm your choices and you should be able to rename your files.
    As I said above, I did have trouble with this in V4.x so I suggest only selecting one of the photos and testing it out. If it works, you can select the rest and complete your task. If it doesn't, then you can fix that, try again to get it to work or just manually rename your photos which is what I ended up doing.

  • Help My Fla file corrupted while saving (System shut down while saving)

    Hi everyone does anyone have any solution for this. I am using Adobe CS5 my week longs work of animation is all gone. I checked the forum for solutions and i found so many like updating my CS5 Software e.tc. I finally found one where they said u can convert ur fla file to a zip file. and check the library assets to see which one is corrupted but the problem is that i could find only one symbol in the libary folder where as i had about five symbols in the fla file. Pls I really need your help. The size before it was corrupt was well above 24mb but now all i can see is 13MB i really really hope i can resucue this file as i dont have any backups.

    backups are always smart.  use a naming convention that's convenient for you.
    i use projectname_01.fla, projectname_02.fla etc.  whenever you save, use a new name.  it's not unusual for me to end-up with projectname_49.fla.
    if you like tidy directories without lots of files, you can move older flas to and "old" or "previous_versions" subdirectory.

  • Could someone help me with a Runtime Error while saving a PDF file?

    While saving a 28 page PDF file in Illustrator today, I got a window saying, "This application has requested the "Runtime" to terminate it in a unusual way." It said to contact the applications support team for more information. I keep getting the same thing each time I try it. Does anyone know how to fix this issue or how I contact the applications support team ?
    Thank you for any insight.
    Pam

    It is a 13.5x11 inch calendar. There are 14 pages with images on them and
    some text. The other pages have text, a grid and a colored background with a
    gaussian blur. I saved each page as an "outline".
    The printer I am using requested I save all pages in a pdf file. I was
    successful in saving all but about six pages, now I can't even open the
    file.
    What happens is... I open Illustrator
                                   I open the pdf file
                                   A window appears that says... Runtime Error,
    This application has requested the Runtime to terminate it in an unusual
    way. Please contact the application's support team for more information.
                                   I select ok
                                   then a window appears that says... Adobe
    Illustrator CS5 has stopped working. A problem caused the program to stop
    working correctly. Windows will close the program and notify you if a
    solution is available.
                                   Then the program closes.
    So far I have not been notified of anything.
    Please let me know if you need more details.
    Thank you so much for helping me with this.
    Pam

  • I can't create a new tag while saving a file in Yosemite.

    The title pretty much says it all :-) As I try to type in a new tag while saving a file, the curser just blinks, and doesn't respond.  I can't create a new tag. I can click on existing tags, and they get added to the file, but the support page on tags says:
    To add a tag:
    Click on a recent tag that appears in the menu to link it your document. You can even add multiple tags.
    Click “Show All…” to see the all of the tags you have created. Then, click on a tag to add it.
    You can also add tag by typing. As you type in the Tags field, you’ll see matching suggestions from your existing tags.
    To add a new tag, just type it in the field.
    New tags you create automatically appear in other locations where tags are visible, such as in the Finder sidebar.
    The fourth bullet is the one I'm referring to. I think this might be a bug, but I can't find a way to report it. If it's not a bug, I would really appreciate some guidance.
    Here's some system info:
    MacBook Pro (15-inch, Early 2011)
    Model Identifier: MacBookPro8,2
    Processor Name: Intel Core i7
    Processor Speed: 2.2 GHz
    Number of Processors: 1
    Total Number of Cores: 4
    L2 Cache (per Core): 256 KB
    L3 Cache: 6 MB
    Memory: 8 GB
    Boot ROM Version: MBP81.0047.B27
    SMC Version (system): 1.69f4
    Yosemite version:10.10 (14A389)
    Thank you very sincerely for your time,
    Chris

    What sort of file(s) are you trying to tag while saving?
    Have you tried saving the file first, then tagging it/them afterwards?

  • An internal error occurred while writing imported graphics in this document. The file has been saved

    An internal error occurred while writing imported graphics in this document. The file has been saved, but has lost some image data. Please report this error to Adobe Technical Support.
    How do i fix this, there are no images in the document
    thanks
    emma

    We are running FM version 7.2b144 on MS Win xp Pro (32 bit), and I did not notice this until service pack 3 was installed. I believe I have found a work around to the situation and another contributing cause. If graphic files are placed directly in an anchored frame instead of importing by reference, the file somehow becomes misplaced. If you right click the graphic and open the Object Properties dialog box, and see the phrase "no referenced file" below Main Editor: Referenced File: in the lower left hand corner, this has happened. I found if I removed all graphics files without references and imported them by reference, the source file may then be properly saved. I am also using a program called CCleaner, which removes cookies, temp files, browsing history and the like from a system. If the program settings are chosen too aggressively, and the application runs when FM has a file open, this same error will occur, even if all files are referenced properly. I don't know if SP3 has some similar application which is now running in the background and causing this.
    To summarize, if you want to retain SP3, I have eliminated this error by confirming the links to referenced graphics files and avoiding using 3rd party "cleaners" while FM is open.

  • Form Builder crashes while saving .fmb file when connected to db

    Hi,
    I am getting error The instruction at "0x679c352c" referenced memory at "0x0000001c". The memory could not be "read".
    Forms version is 6.0.8.11.3 and database version is 10.2.0.3.0
    I am doing the following steps:
    1) Open .fmb file in forms builder
    2) Connecting to database
    3) Making some changes in form
    4) Compiling (Ctrl+Shift+K) and generating form (Ctrl+t)
    5) Saving form <--- Here I am getting the error and form crashes
    If I do not connect to database then builder is allowing me to save the file
    1) Open .fmb file in forms builder
    2) Making some changes in form
    3) Saving form (Successful)
    I did some exercise just as a guess that may some part of the form is causing this error. I full expanded all components of the form i.e. blocks, canvases, triggers etc.
    This exercise produced that 3 program units were giving same error while full expending those. I deleted those 3 program units and re-created them. Now it is not showing me this memory error while full expanding all program units. I can now fully expand my full form.
    But I am still getting this error while saving the changes when I am connected to database.
    Please help.
    Regards,
    Edited by: rawat75 on Sep 2, 2011 7:13 PM

    Hi Experts,
    We are getting the same issue. Our form builder crashes once we open our custom form
    in form builder.
    Server shows:-
    Forms 6.0 (Forms Runtime) Version 6.0.8.28.0 (Production)
    Form Builder shows:-
    Forms [32 Bit] Version 6.0.8.11.3 (Production)
    How to upgrade the form builder version?

  • I have difficulty pasting text into the file name field(prefix only) while saving files.

    OS: WinXP sp3
    FF: 3.6.3
    I have difficulty pasting text into the file name field (prefix only) while saving files. example: File name is Pic123.jpg and I want to rename it ABC123.jpg and I have ABC loaded into the WinXPsp3 clipboard. When I highlight\right-click\delete "Pic" then attempt to paste the ABC, I get either no reaction, or upon multiple paste attempts, the ABC is appended to the end of the file, after the extension, as "Pic123.jpgABC". If I delete this unwanted suffix, or repeat the process several times, eventually I can delete the unwanted portion of the prefix and paste the desired text. Sometimes it works fine first try, but mostly it takes several tries. I'm using Firefox 3.6.3 but the problem existed in whatever previous version I had too. This issue only occurs when using the delete/paste; I can always manually change the name by typing. Thank you for your help.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    A possible cause is that the server sends a wrong response header.
    The server may not comply to RFC 5987 and sends a wrong Content-Disposition:attachment; filename header.
    * https://developer.mozilla.org/en/Firefox_8_for_developers#Network

  • Preview is saving all files viewed while online

    I am having several problems with Preview because it saves every single file I view while online, and while conducting research, this ends up being literally hundred of .pdfs some days. How do I turn off this automatic save function? Is it just a glitch in the system or is their a setting somewhere that can be adjusted? It is also saving the files in a folder which it should not be saving them in, but I cannot figure out to change the default folder for this automatic saving that should not be taking place. I have tried changing my default folder in Preferences for both Firefox and Safari, but it does not seem to have any effect on this automatic saving.
    If I can't get this to stop, then I need to make Adobe Acrobat my default viewer. I have tried going into the Preferences of Firefox and Safari, but I still keep getting Preview popping up when I try to view .pdfs.
    I am using Firefox verison 2.0.0.14 and Safari 3.1.1
    Any suggestions would be greatly appreciated.

    You don't want to view them in Preview or Acrobat either one, that requires downloading them, but...
    http://www.macosxhints.com/article.php?story=20030325010528818
    Of course you can configure Acrobat 7/8 to view them online if you wish...
    http://kb.adobe.com/selfservice/viewContent.do?externalId=331040
    http://kb.adobe.com/selfservice/viewContent.do?externalId=333545

Maybe you are looking for

  • How to allow a fillable PDF to be saved

    I have a user that created a fillable PDF file. Now we want to send that out ot staff and allow them to fill it out and save a copy. How do we enable this feature? It currently only allows to print a filled out form or to save a blank copy. Thanks, J

  • Mac DVD player plays all DVDs but this one

    A commercial DVD from Netflix will play on my tv, my MacBook Pro, and my old power Mac, but not on my intel Mac.  All other DVDs play on this Mac without a hitch.  Netflix has sent me 2 copies of this and neither works, yet all others work.  There ar

  • Converting Microsoft Works file to Adobe

    Does anyone else have this word processing software and tried to convert files? If so, how did you get file to convert?

  • V3.0, NLS_LENGTH_SEMANTICS byte vs. char for CREATE TABLE

    Hi, When creating a new table (via "New Table" or "Data Load ...") NLS_LENGTH_SEMANTICS of table columns are always in byte even when NLS_LENGTH_SEMANTICS is set to char for the instance (and so as default for all sessions) and has not explicitly cha

  • How should we use the membership in mvc4?

    In mvc4 how can I use the membership provider explain withan example and post a the link if the video is available ?