Skip to content

Non ascii strings broken when encoded #147

@GoogleCodeExporter

Description

@GoogleCodeExporter
Base62 encoder breaks non ascii strings (ie french strings with accents)!

To correct it, just add /u unicode modifier into $WORDS regexp, as:

  private static $WORDS    = '/\\b[\\da-zA-Z]\\b|\\w{2,}/u';

Original issue reported on code.google.com by alexand...@monaco.mc on 5 Mar 2013 at 6:38

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions