Skip to content

Handle unicode paths #1

@lhagan

Description

@lhagan

phoshare does not handle paths containing unicode characters. Potential fixes suggested by Michel Boudinot:

  1. set the default encoding to utf-8, using the kludge of adding import sys; reload(sys); sys.setdefaultencoding(‘utf-8’) in the __init__.py file.
    or
  2. leaving the default encoding alone, (actually, it is ascii), implement a UnicodeConfigParser() function (http://sysmagazine.com/posts/119405/) and I use it in place of RawConfigParser() in the save() function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions