Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#4908 closed defect (worksforme)

umlauts do not show up correctly in timeline when an attachmet contains umlauts

Reported by: ThurnerRupert Owned by: Jonas Borgström
Priority: high Milestone:
Component: general Version:
Severity: minor Keywords: attachment unicode needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

to try:

  1. attach doc with umlaut in filename
  2. see timeline

Attachments (1)

ümläut.txt (25 bytes ) - added by Christian Boos 17 years ago.
Test attachment with umlauts in the filename

Download all attachments as: .zip

Change History (4)

comment:1 by ThurnerRupert, 17 years ago

Milestone: 0.10.4
Priority: normalhigh
Severity: normalminor

could not attach a doc named "ümläut.txt" as there was

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 361, in process_request
    self._do_save(req, attachment)
  File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 475, in _do_save
    for field, message in manipulator.validate_attachment(req, attachment):
  File "build/bdist.linux-x86_64/egg/tracspamfilter/adapters.py", line 130, in validate_attachment
  File "build/bdist.linux-x86_64/egg/tracspamfilter/api.py", line 102, in test
  File "build/bdist.linux-x86_64/egg/tracspamfilter/api.py", line 228, in _combine_changes
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 33: ordinal not in range(128)

by Christian Boos, 17 years ago

Attachment: ümläut.txt added

Test attachment with umlauts in the filename

comment:2 by Christian Boos, 17 years ago

Keywords: attachment unicode added
Milestone: 0.10.4

Well, the above error is a separate issue, with the SpamFilter.

As you can see with attachment:ümläut.txt, this works fine here (attached using Firefox 2 on Windows).

Can you give more precisions about your setup and the error you're seeing? Also, is the problem only with the timeline and not with the attachment page itself?

comment:3 by Christian Boos, 17 years ago

Keywords: needinfo added
Resolution: worksforme
Status: newclosed

Can't reproduce…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.