[Previous] [Contents] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

Appendix A: About the Photon Editor

To create and edit a Japanese file in Photon, you can use the Photon Editor. To start the Photon Editor, click the ped icon.

You can also type the command ped in a pterm window to start the editor. The Photon Editor looks like this:

Note: For more information about the Photon Editor, see the ped man page in the Photon Installation & Configuration Guide.

Creating a Japanese file


  1. Start the Photon Editor, and select Encoding from the Options menu. The default is Unicode in UTF-8. You can create a Japanese file using any of Unicode, ISO-2022-JP, Japanese EUC, or Japanese SJIS.


    Note: If you're opening an existing Japanese file, you must specify the encoding that matches your file before you open it. If the encoding doesn't match, you won't be able to read the file. If you can't read a Japanese file, try a different encoding option.

  2. Turn on VJE. You can now enter Japanese characters.

    By default, the font style and size is Helvetica 12. However, you can type in Japanese characters without selecting a Japanese font.

  3. To save the file, select "Save as..." from the file menu. The File Selector dialog appears. Specify the path where the file is to be saved and type in the filename. Click Save.


    Note: A Japanese filename cannot be entered in the Photon shell (pterm) and will not be displayed as Japanese characters in the pterm display.

[Previous] [Contents] [Next]