diff options
Diffstat (limited to 'main/src/ui/java/de')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java b/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java index 6ab6e2cc..ec07a77c 100644 --- a/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java +++ b/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java @@ -45,6 +45,7 @@ import java.util.Vector; import de.blinkt.openvpn.R; import de.blinkt.openvpn.core.VpnStatus; +import kotlin.text.Charsets; public class AboutFragment extends Fragment implements View.OnClickListener { @@ -305,7 +306,7 @@ public class AboutFragment extends Fragment implements View.OnClickListener { try { mvpn = getActivity().getAssets().open("full_licenses.html"); - BufferedReader reader = new BufferedReader(new InputStreamReader(mvpn)); + BufferedReader reader = new BufferedReader(new InputStreamReader(mvpn, Charsets.UTF_8)); StringBuilder sb = new StringBuilder(); String line = null; while ((line = reader.readLine()) != null) { |