Skip to content

encodeURIComponent instead of utf8_encode #3

@cadorn

Description

@cadorn

Changing utf8_encode() to encodeURIComponent() may solve all the encoding issues.

e.g.

javascript:alert(encodeURIComponent("Çáåøn"));
javascript:alert(decodeURIComponent("%C3%87%C3%A1%C3%A5%C3%B8n"));

Need PHP implementation of encodeURIComponent().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions