diff --git a/src/org/thoughtcrime/securesms/contacts/avatars/GeneratedContactPhoto.java b/src/org/thoughtcrime/securesms/contacts/avatars/GeneratedContactPhoto.java index 5c8a311eef..d002495464 100644 --- a/src/org/thoughtcrime/securesms/contacts/avatars/GeneratedContactPhoto.java +++ b/src/org/thoughtcrime/securesms/contacts/avatars/GeneratedContactPhoto.java @@ -42,7 +42,7 @@ public class GeneratedContactPhoto implements ContactPhoto { if (cleanedName.isEmpty()) { return "#"; } else { - return String.valueOf(cleanedName.charAt(0)); + return new StringBuilder().appendCodePoint(cleanedName.codePointAt(0)).toString(); } }