From: Michael Kaply <345868+mkaply@users.noreply.github.com> Date: Fri, 21 Jun 2024 11:48:06 +0000 (-0400) Subject: Add note about UTF-8 encoding. X-Git-Tag: v5.12~2 X-Git-Url: https://git.p6c8.net/policy-templates.git/commitdiff_plain/a088974e4816be17c9135f5492e0a5ee60ff8084?ds=inline Add note about UTF-8 encoding. --- diff --git a/docs/index.md b/docs/index.md index 2ac1142..91b419a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,7 +1,6 @@ Firefox policies can be specified using the [Group Policy templates on Windows](https://github.com/mozilla/policy-templates/tree/master/windows), [Intune on Windows](https://support.mozilla.org/kb/managing-firefox-intune), [configuration profiles on macOS](https://github.com/mozilla/policy-templates/tree/master/mac), or by creating a file called `policies.json`. On Windows, create a directory called `distribution` where the EXE is located and place the file there. On Mac, the file goes into `Firefox.app/Contents/Resources/distribution`. On Linux, the file goes into `firefox/distribution`, where `firefox` is the installation directory for firefox, which varies by distribution or you can specify system-wide policy by placing the file in `/etc/firefox/policies`. Unfortunately, JSON files do not support comments, but you can add extra entries to the JSON to use as comments. You will see an error in about:policies, but the policies will still work properly. For example: - ``` { "policies": { @@ -12,6 +11,7 @@ Unfortunately, JSON files do not support comments, but you can add extra entries } } ``` +Note: The `policies.json` must use the UTF-8 encoding. | Policy Name | Description | --- | --- |