New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 867311 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

desktop-pwas: Use UTF-8 characters for generated icons

Project Member Reported by ortuno@chromium.org, Jul 25

Issue description

The current code that generates icons uses the first letter of the domain or the first letter of the URL to generate an icon. If the domain or URL starts with a UTF8 character, then we use "x". This is because we we use punycode to encode our URLs. So for example: http://مثال.example will generate an icon with an "x".

We should decode the URL before retrieving the first character so that generated icons for domains/URLs use the first UTF8 character rather than "x".

Once we implement this, we should check that the UTF8 character we use is visible.
 
Description: Show this description
Description: Show this description
Note: Use `char16 letter_` in web_app:: GenerateBitmap (maybe).

Sign in to add a comment