Description

If one of the german special signs is used in a filename we get trouble if they are uploaded. It is possible to upload a file with such a sign but building the list of all attachments ends in a failure.

You get:

UnicodeEncodeError'ascii' codec can't encode character u'\xdf'
 in position 37: ordinal not in range(128)

The only way I know to get this failure solved is to go on the server and to remove this file manually. -- ReimarBauer 2005-06-02 07:15:56

Steps to reproduce

Example

Details

MoinMoin Version

1.3.4

OS and Version

Linux, 2.6.8-24.14-smp

Python Version

2.3.4

Server Setup

mod_python, cgi-bin

Server Details

apache2

  • [get | view] (2006-06-17 12:54:45, 7.0 KB) [[attachment:bugreport.txt]]
  • [get | view] (2005-07-23 15:15:15, 0.0 KB) [[attachment:urlfile_tämp]]
  • [get | view] (2005-07-23 15:17:11, 0.0 KB) [[attachment:ärger.txt]]
 All files | Selected Files: delete move to page copy to page

Workaround

  1. Don't use special chars in attachment files.
  2. /!\ If you get this bug with 1.5.3 or later and under Windows, please ensure that there is no u before the data_dir string in the wikiconfig.

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/AttachmentSpecialCharacterFiles (last edited 2007-10-29 19:21:05 by localhost)