decorative banner

Importing foreign encoded text files


    Before importing foreign-language files or text files from other platforms, you need to know the type of encoding they were written with. If the text was saved with an encoding not recognized by your operating system, it won't display properly. However, the HTML code is still valid. To insert foreign script, you must display your GoLive document in the Source Code Editor, and paste the double-byte text into it.

To import foreign encoded text files:

  1. Open a new document window.
  2. Choose File > Document Encoding, and choose the language encoding of the file that you want to import.
  3. This inserts the encoding information in the head section of the page. (For information on adding language encodings to the File > Document Encoding menu, see Setting language scripts and font preferences.)

  4. Copy the text from the file that you want to import.
  5. Return to GoLive, and display your GoLive document in the Source Code Editor.
  6. Paste the copied text between the <body> and </body> tags. Make sure that you don't type over any of the HTML tags.
  7. If your text contains characters that are used in HTML syntax, such as "<", ">", and "&", you must use the proper HTML notation for special characters, such as "&lt;", "&gt;", and "&amp;"; otherwise, GoLive interprets them as HTML tags when it reads the text-only file.

  8. Choose File > Save As to save the page with the .html extension after the filename.
  9. The text will not display properly without the necessary operating system and fonts. To preview the page, you must use a Web browser with the correct encoding running on the necessary operating system.

    Note: Switching encodings while in the Source Code Editor in the document window changes the character set information, not the encoding information, for the current page.