[Android] Chinese characters unable to be displayed properly in the exported json file #1291

Closed
opened 2025-11-26 22:44:05 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @subsys-R9boq8 on GitHub (May 15, 2021).

Describe the Bug

When exporting a vault, Chinese characters used in anywhere in the password are replaced with question mark instead of the correct character. No such situation is observed during an export from the Bitwarden web vault.

Steps To Reproduce

(Prerequisite: Android Bitwarden client is installed and logged into a Bitwarden server)

  1. Add any entry (password, notes, cards, anything) with Chinese characters into the vault.
  2. Use "Export Vault" in "Settings", enter the password and tap "export vault" to save the exported vault file somewhere in the phone.
  3. Copy the file to the computer and use a text editor to open it, navigate to the added entry.

Expected Result

Chinese character is shown in the json file the way it is supposed to be.

screenshot;

Actual Result

Chinese character used in the entry is replaced with question mark "?".

screenshot

Environment

  • Device: Pixel 4A
  • Operating system: Android 11
  • Build Version (go to "Settings" → "About" in the app): 2.10.0 (3516)
  • Is this a Beta release? N
Originally created by @subsys-R9boq8 on GitHub (May 15, 2021). ## Describe the Bug When exporting a vault, Chinese characters used in anywhere in the password are replaced with question mark instead of the correct character. No such situation is observed during an export from the Bitwarden web vault. ## Steps To Reproduce (Prerequisite: Android Bitwarden client is installed and logged into a Bitwarden server) 1. Add any entry (password, notes, cards, anything) with Chinese characters into the vault. 2. Use "Export Vault" in "Settings", enter the password and tap "export vault" to save the exported vault file somewhere in the phone. 3. Copy the file to the computer and use a text editor to open it, navigate to the added entry. ## Expected Result Chinese character is shown in the json file the way it is supposed to be. ![screenshot;](https://user-images.githubusercontent.com/64412822/118351598-7204ef00-b54c-11eb-9c6d-a4a10f6350f1.png) ## Actual Result Chinese character used in the entry is replaced with question mark "?". ![screenshot](https://user-images.githubusercontent.com/64412822/118351244-64e70080-b54a-11eb-93d6-3be94e1e67bb.png) ## Environment - Device: Pixel 4A - Operating system: Android 11 - Build Version (go to "Settings" → "About" in the app): 2.10.0 (3516) - Is this a Beta release? N
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#1291