diff --git a/ManagerService/Controllers/ConfigurationController.cs b/ManagerService/Controllers/ConfigurationController.cs
index 3d77150..a761d52 100644
--- a/ManagerService/Controllers/ConfigurationController.cs
+++ b/ManagerService/Controllers/ConfigurationController.cs
@@ -260,13 +260,14 @@ namespace ManagerService.Controllers
/// Export a configuration
///
/// Id of configuration to export
+ /// Language to export
[AllowAnonymous]
[ProducesResponseType(typeof(FileContentResult), 200)]
[ProducesResponseType(typeof(string), 400)]
[ProducesResponseType(typeof(string), 404)]
[ProducesResponseType(typeof(string), 500)]
[HttpGet("{id}/export")]
- public FileContentResult Export(string id, string language)
+ public FileContentResult Export(string id, [FromQuery] string language)
{
try
{
@@ -387,7 +388,7 @@ namespace ManagerService.Controllers
string jsonString = JsonConvert.SerializeObject(toDownload);
var fileName = $"{configuration.Label}.json";
var mimeType = "application/json";
- var fileBytes = Encoding.ASCII.GetBytes(jsonString);
+ var fileBytes = Encoding.UTF8.GetBytes(jsonString);
return new FileContentResult(fileBytes, mimeType)
{
FileDownloadName = fileName