capture all unicode letters for unknown contact picture
This commit is contained in:
parent
168f9a8c3c
commit
a978fd0f40
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class ContactPictureLoader {
|
|||
/**
|
||||
* Pattern to extract the letter to be displayed as fallback image.
|
||||
*/
|
||||
private static final Pattern EXTRACT_LETTER_PATTERN = Pattern.compile("[a-zA-Z]");
|
||||
private static final Pattern EXTRACT_LETTER_PATTERN = Pattern.compile("\\p{L}\\p{M}*");
|
||||
|
||||
/**
|
||||
* Letter to use when {@link #EXTRACT_LETTER_PATTERN} couldn't find a match.
|
||||
|
|
Loading…
Reference in a new issue