From 0e7df87a60b89ff0237fec1a8458a3f6f991e6c2 Mon Sep 17 00:00:00 2001 From: Florian <59bd3151@rv0.de> Date: Wed, 18 Mar 2020 18:30:18 +0100 Subject: [PATCH] hotfix for #297 --- app/src/main/java/org/mian/gitnex/activities/LoginActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java b/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java index 76eecc7d..ccea51a6 100644 --- a/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java @@ -530,7 +530,7 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener private void letTheUserIn(final String instanceUrl, final String loginUid, final String loginPass, final int loginOTP) { - final String credential = Credentials.basic(loginUid, loginPass); + final String credential = Credentials.basic(loginUid, loginPass, Charset.forName("UTF-8")); Call> call; if(loginOTP != 0) {