aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/docs/json.ex
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-11-14 16:39:45 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-11-14 16:39:45 +0700
commit3c0abfca53751624ebd6ea7174ee880d9e7b29e7 (patch)
treeba16c5af44532a9b76640f1f48651c90d1be8a6f /lib/pleroma/docs/json.ex
parent768c1a5de172151beb34e6dda13d4fb05e05ed87 (diff)
parent6085c71bd17e2b676e0820bf3fd93f81a1902ac3 (diff)
downloadpleroma-3c0abfca53751624ebd6ea7174ee880d9e7b29e7.tar.gz
Merge remote-tracking branch 'upstream/develop' into feature/move-activity
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