Skip to content

Fix: Broken emoji and special character encoding in Signup page and HomepageΒ #66

@Ananya-CM

Description

@Ananya-CM

πŸ› Bug Report

Page(s) Affected: frontend/app/signup/page.tsx, frontend/app/page.tsx
Severity: Medium β€” visible to every user on page load
Type: Encoding / Character Rendering Bug


πŸ“Œ Description

Several emoji and special characters across the Signup page and
Homepage are rendering as garbled mojibake text due to incorrect
character encoding. This affects readability and user trust
across two of the most visited pages in the application.


❌ Current Broken Behaviour

In frontend/app/signup/page.tsx:

Location Broken (Current) Expected
Password generator button Ξ“ΓœΓ­ Generate Strong Password ⚑ Generate Strong Password
Password match indicator Γ£ô Passwords match βœ“ Passwords match
Password mismatch indicator Γ£ù Passwords do not match βœ— Passwords do not match

In frontend/app/page.tsx (Homepage):

Location Broken (Current) Expected
Mobile menu close button Γ£ò βœ•
Mobile hamburger icon Γÿ░ ☰
Tagline separator Open source ┬╖ Free to start Open source Β· Free to start
Arrow link Browse projects Ξ“Γ₯Γ† Browse projects β†’

πŸ” Root Cause

The source files appear to have been saved or copy-pasted with
incorrect UTF-8 encoding, causing multi-byte characters to be
misinterpreted. The garbled sequences (Ξ“, ┬, Ξ“Γ₯) are classic
signs of UTF-8 bytes being read as Windows-1252 (CP1252) encoding.


βœ… Expected Behaviour

All emoji and special characters should render correctly
across all browsers and operating systems.


πŸ’‘ Proposed Fix

Replace all broken encoded characters with:

  • Correct Unicode emoji/symbols directly (⚑ βœ“ βœ— β†’ Β· ☰ βœ•)
  • Or use their safe HTML entity equivalents as fallback

Files to update:

  • frontend/app/signup/page.tsx
  • frontend/app/page.tsx

πŸ–₯️ Steps to Reproduce

  1. Clone the repository
  2. Run cd frontend && npm install && npm run dev
  3. Visit http://localhost:3000 β†’ observe broken characters
    in hamburger icon and tagline
  4. Visit http://localhost:3000/signup β†’ observe broken
    characters in password generator button and match indicators

I'd like to work on this issue. Please assign it to me.

nsoc26

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions