fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Persona doesn't render initials for non-enu words

Open sulabh-msft opened this issue 9 years ago • 1 comments

Bug Report

  • Package version(s): (fill this out)
  • Browser and OS versions: (fill this out if relevant)

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? No

Requested priority: (Blocking, High, Normal, Low) Normal

Products/sites affected: (if applicable)

Describe the issue:

Persona doesn't render initials for non-enu words Refer to the example provided in the office fabric site: https://dev.office.com/fabric#/components/persona

image

Actual behavior:

while we are getting initials generated for following names: a. Kat Larrson b. Annie Lindqvist

But we are not getting any initial for following: 宋智洋 남궁 성종 etc

Expected behavior:

We should get initial generated for non-enu words as well.

sulabh-msft avatar Aug 10 '17 16:08 sulabh-msft

Persona has prop onRenderInitials where you can pass a function to custom render initials, which you can use to handle unsupported languages.

Closing issue. Please reopen if there are remaining issues

erichdev avatar Oct 19 '17 22:10 erichdev