Skip to main content

This patch product is for downloaded filename become strange ascii code in muluti-byte languages on Plone

Project description

Introduction

This patch product is for downloaded filename become strange ascii code in muluti-byte languages on Plone

  • When downloading file with Japanese name, downloaded file has some strange ascii coded name.

  • I think we should get file name that shows in Plone page.

  • This happens on all Plone version. I think if the file is named with multi byte code, this strange ascii name shows up.

  • Please, look at attached file to fix this problem for IE and Firefox. Other browsers, we are still working on it.

requirement

Plone 3.x (Tested by Plone 3.3.1 on MaxOS X 10.5)

Changelog

1.0a1 (2010-01-08)

  • Initial release

c2.patch.filenamenormalizer Installation

  • When you’re reading this you have probably already run easy_install c2.patch.filenamenormalizer. Find out how to install setuptools (and EasyInstall) here: http://peak.telecommunity.com/DevCenter/EasyInstall

  • Get pythonproducts and install it via:

    python setup.py install --home /path/to/instance

    into your Zope instance.

  • Create a file called c2.patch.filenamenormalizer-configure.zcml in the /path/to/instance/etc/package-includes directory. The file should only contain this:

    <include package="c2.patch.filenamenormalizer" />

Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:

  • Add c2.patch.filenamenormalizer to the list of eggs to install, e.g.:

    [buildout]
    ...
    eggs =
        ...
        c2.patch.filenamenormalizer
  • Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

    [instance]
    recipe = plone.recipe.zope2instance
    ...
    zcml =
        c2.patch.filenamenormalizer
  • Re-run buildout, e.g. with:

    $ ./bin/buildout

You can skip the ZCML slug if you are going to explicitly include the package from another package’s configure.zcml file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

c2.patch.filenamenormalizer-1.0a1.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

c2.patch.filenamenormalizer-1.0a1-py2.4.egg (11.7 kB view details)

Uploaded Egg

File details

Details for the file c2.patch.filenamenormalizer-1.0a1.tar.gz.

File metadata

File hashes

Hashes for c2.patch.filenamenormalizer-1.0a1.tar.gz
Algorithm Hash digest
SHA256 b45addf17cfde91b422def77f3722d3ee7d268076aaf45757ffd978909aa97cc
MD5 376d57407e86dd84270fecd4397bad38
BLAKE2b-256 d309465354cd4d57b46f2d3fcc87e71ce3304ec4046b99d4fca6f5128ce16cef

See more details on using hashes here.

File details

Details for the file c2.patch.filenamenormalizer-1.0a1-py2.4.egg.

File metadata

File hashes

Hashes for c2.patch.filenamenormalizer-1.0a1-py2.4.egg
Algorithm Hash digest
SHA256 96ab1c0ad85c606f15f1706782eedfd5bbce6fcebbfba485df6e010e116363a0
MD5 f84e102f01c14065f4373eb81773d020
BLAKE2b-256 0b721a8e5711b1b77e8bbc85c87c6cc9260a824cfe938e212b02f5fee0ecbecd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page