User Guide: UTF-8 and Character EncodingPhorge Administrator and User Documentation (Application User Guides)
How Phorge handles character encodings.
Phorge stores all internal text data as UTF-8, processes all text data as UTF-8, outputs in UTF-8, and expects all inputs to be UTF-8. Principally, this means that you should write your source code in UTF-8. In most cases this does not require you to change anything, because ASCII text is a subset of UTF-8.
If you have a repository with source files that do not have UTF-8, you have two options:
- Convert all files in the repository to ASCII or UTF-8 (see "Detecting and Repairing Files" below). This is recommended, especially if the encoding problems are accidental.
- Configure Phorge to convert files into UTF-8 from whatever encoding your repository is in when it needs to (see "Support for Alternate Encodings" below). This is not completely supported, and repositories with files that have multiple encodings are not supported.
Phorge has some support for encodings other than UTF-8.
To use an alternate encoding, edit the repository in Diffusion and specify the encoding to use.
Optionally, you can use the --encoding flag when running arc, or set encoding in your .arcconfig.