Normalize non-ASCII characters from User-Agent header

Description

  1.  

    1.  

      1. Description

(https://openedx.atlassian.net/browse/LEARNER-6989)

This is a minor bugfix to replace non-ASCII Unicode characters with ASCII characters. Uses Java built-in Normalizer class, and NFD normalization form.

Before:
```
Dalvik/2.1.0 (Linux; U; Android 9; Pixel Build/PQ1A.190105.004) üniversite/org.edx.mobile/2.17.1
```

After:
```
Dalvik/2.1.0 (Linux; U; Android 9; Pixel Build/PQ1A.190105.004) universite/org.edx.mobile/2.17.1
```

  1.  

    1.  

      1. Notes

  • UserAgentInterceptor does not have tests, and I didn't add any to test normalization.

Assignee

Mian Khalid

Reporter

Open Source Pull Request Bot

Contributor Name

Onur Güzel

Repo

edx/edx-app-android

Customer

Epic Link

None

OSCM Assignee

None

Platform Map Area (Levels 1 & 2)

Learner Experiences - Course Experience

Platform Map Area (Levels 3 & 4)

None

Blended Hour Utilization Percentage

None

Priority

Unset
Configure