Skip to content

[Bug] Speaker attribution breaks when participant names contain non-ASCII characters #395

Description

@Pratikshya32

Description

In src/speakerAttribution.ts, participant name matching uses string comparison that fails for names with Unicode characters (e.g., Chinese, Arabic, Hindi characters). These participants are attributed as "Unknown Speaker".

Steps to Reproduce

  1. Join a Google Meet with a participant named "王伟" or "محمد"
  2. Start transcription
  3. Their speech is attributed to "Unknown Speaker"

Suggested Fix

  • Use localeCompare() with sensitivity: 'base' for name matching
  • Normalize Unicode with String.prototype.normalize('NFC')
  • Test with participants across multiple scripts

cc @shouri123

Activity

  1. Pratikshya32 commented on Jun 1, 2026

    @Pratikshya32
    ContributorAuthor

    /assign

  2. github-actions commented on Jun 1, 2026

    @github-actions
    Contributor

    Hello @Pratikshya32! You have been assigned to this issue. 🚀

    Please make sure you have read our contribution guidelines. Happy coding!


    Please consider starring the repository ⭐ to show your support!

  3. github-actions commented on Jun 1, 2026

    @github-actions
    Contributor

    👋 Hi @Pratikshya32, thank you for opening this issue! I have automatically assigned this issue to you since you raised it.

    Please follow the contribution guidelines and submit a PR. Let us know if you need any assistance! 🚀


    Please consider starring the repository ⭐ to show your support!

  4. added
    level:intermediateDifficulty level: Intermediate (35 pts)
    type:bugType: Bug Fix (Optional bonus)
    github_actionsPull requests that update GitHub Actions code
    component:aiComponent: AI/LLM integration
    and removed on Jun 1, 2026
  5. github-actions commented on Jun 17, 2026

    @github-actions
    Contributor

    This issue has been marked as stale due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcomponent:audioComponent: Audio processinggithub_actionsPull requests that update GitHub Actions codegssocOfficial GSSoC contribution issuegssoc:approvedGSSoC: PR approved and scoredlevel:intermediateDifficulty level: Intermediate (35 pts)needs-issuesize/Mstaletype:codeType: Code change

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions