mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
Encode exports as UTF8 (#1404)
This commit is contained in:
parent
946831b37e
commit
0eebe6b156
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ namespace Bit.App.Pages
|
|||
fileFormat = fileFormat == "encrypted_json" ? "json" : fileFormat;
|
||||
|
||||
_defaultFilename = _exportService.GetFileName(null, fileFormat);
|
||||
_exportResult = Encoding.ASCII.GetBytes(data);
|
||||
_exportResult = Encoding.UTF8.GetBytes(data);
|
||||
|
||||
if (!_deviceActionService.SaveFile(_exportResult, null, _defaultFilename, null))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue