Skip to content

Unicode bookmark not working on metacpan's pod2html tool. #3206

Open
@ajmetz

Description

@ajmetz

Description:
Unicode in Links in the POD Renderer, are rendered correctly,
and do not function as bookmark links to sections on the same page.
For example, I have a languages section of POD with the following heading:

=head1 🌐 Language Links:

Then I try to link to it as:

See L<"Language Links"/🌐 Language Links:> for list of language tags.

The link renders in the browser in a way that presents correctly - the unicode is visible.
However, clicking the link leads to a https://metacpan.org/pod2html#%1F310-Language-Links%3A that does not work.

Steps to reproduce:

  1. Visit https://metacpan.org/pod2html

  2. Enter POD that includes a link with a unicode character in it. Remember to leave sufficiently long POD that there is scrolling from which to notice you are jumping to a link at a particular page position.

  3. Contrast by repeating step 2 albeit with a link without a unicode character in it. You'll see that works.

Expected behaviour:
I'd expect point 2 to work like point 3.
Are my expectations wrong? Are Unicode characters not allowed in web URLs or bookmarks?

Desktop:

  • OS: MacOS Sonoma 14.5
  • Browser: Firefox 130.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions