How to Save a Dreamweaver Document as UTF8!

Today I tried to save arabic text inside a javascript file and on saving encountered a dialog box asking me to first convert the document to UTF8.

Why it didnt just do it for me I’ll never know, so I had to do it myself.

If you encounter this then do the following to convert the document:

  • Click on the Modify main menu item and select Page Properties.
  • Change the Encoding/Document Encoding dropdown to say “Unicode (UTF-8)” or “Unicode 4.0 (UTF-8)”
  • Click OK
  • Save the document