aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/docs/json.ex
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-12-05 12:22:19 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-12-05 12:22:19 +0300
commit49bb0a130f93476d32d3177d7a989b7a98a063f2 (patch)
tree6e64e2bbe2644dd607ec685de5b2bf94c1f9326c /lib/pleroma/docs/json.ex
parentb9041c209787dc279d4dc5194d65dff73684cdb9 (diff)
parent228bf4d214abe3bb62c52128d3bc145e396b174d (diff)
downloadpleroma-49bb0a130f93476d32d3177d7a989b7a98a063f2.tar.gz
Merge branch 'develop' into issue/1276
Diffstat (limited to 'lib/pleroma/docs/json.ex')
-rw-r--r--lib/pleroma/docs/json.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/docs/json.ex b/lib/pleroma/docs/json.ex
index 18ba01d58..f2a56d845 100644
--- a/lib/pleroma/docs/json.ex
+++ b/lib/pleroma/docs/json.ex
@@ -5,7 +5,7 @@ defmodule Pleroma.Docs.JSON do
def process(descriptions) do
config_path = "docs/generate_config.json"
- with {:ok, file} <- File.open(config_path, [:write]),
+ with {:ok, file} <- File.open(config_path, [:write, :utf8]),
json <- generate_json(descriptions),
:ok <- IO.write(file, json),
:ok <- File.close(file) do