Merge branch 'bugfix/1395-email-activation' into 'develop'
[akkoma] / lib / pleroma / docs / json.ex
index 18ba01d58aca56bb58b5edd38bdc738bb10d87c6..f2a56d845e594752db66cd24d67483be0f9f6221 100644 (file)
@@ -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