Skip to content

Broken title for diacritics #1537

@TamaraAndonovska

Description

@TamaraAndonovska

Describe the bug

If the BranchUniversalObject's title contains diacritical signs which are common in a lot of languages (eg. German, Spanish, French, etc.), the title of the share sheet is incorrect. Eg. if this is the title that is set in the following way:

let link = BranchUniversalObject(canonicalIdentifier: "")
link.title = "Löffelkuchen"

the title of the share sheet would replace the ö with 2 question marks like this:

Image

Steps to reproduce

  1. Set the title of the BranchUniversalObject to any string containing a diacritical sign
  2. Use presentActivityViewControllerFromViewController method on BranchShareLink
  3. Observe the share sheet's title

Expected behavior

The title of the share sheet should be displayed without replacing the diacritics with question mark symbols.

SDK Version

3.13.1

XCode Version

16.4

Device

All (tested eg. iPhone 16 Pro, iPhone 15)

OS

All (tested eg. iOS 18.0, iOS 18.3, iOS 17.0)

Additional Information/Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions