Skip to content

Does not unicode correctly #7

@drmuey

Description

@drmuey

Example

session username => 'I ♥ Perl';

When used immediately it works (because its not fetching it from the session).

On subsequent hits (i.e. when fetching from the session) the ♥ is mojibake.

Fix

-    return JSON->new->allow_blessed->convert_blessed;
+    return JSON->new->allow_blessed->convert_blessed->utf8(1);

With that in place it shows I ♥ Perl when fetched from session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions