Edgewall Software
Modify

Ticket #7976 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

Anchor with accentuated characters don't work

Reported by: jouvin@… Owned by:
Priority: normal Milestone:
Component: wiki system Version: none
Severity: normal Keywords: needinfo
Cc:
Release Notes:
API Changes:

Description

This is a fact a very old issue, already present in 0.10. If you want to refer to a specific anchor in a wiki page, corresponding to a header level, that contains accentuated characters, the URL generated doesn't work. This happens whatever mean you used to create the reference to the anchor : an explicit TracLink, PageOutLine?, TOC plugin...

Here is an example of such a URL: https://trac.lal.in2p3.fr/TracLAL/wiki/Admin/Install#Problèmesconnus (should be word-public readable). This should refer to an anchor automatically created by Trac for the following header:

=== Problèmes connus ===

If replacing the è by e, everything works as expected.

Cheers,

Michel

Attachments

Change History

comment:1 Changed 3 years ago by cboos

  • Component changed from general to wiki system
  • Keywords needinfo added
  • Milestone 0.11.3 deleted

Your example worked for me in Chrome, IE 7 and Firefox 3.0.3, but not in Opera 9.63 (all versions tested on Windows). Which browser did you use?

Not sure if it's a browser bug or if Chrome, IE7 and FF3 worked "by chance".
In the latter case we might do something.

comment:2 Changed 3 years ago by rblank

The XML specification requires an ID attribute to be a Name. I suppose that accented characters fall into the "Name" definition, so it should work.

comment:3 Changed 3 years ago by jouvin@…

I use Opera (9.63). I was sure I tested in IE7 too but it was probably just a dream ! I tested again and it works. I'll fill a bug against Opera. Thanks. You can probably close this ticket.

Michel

comment:4 Changed 3 years ago by cboos

  • Resolution set to worksforme
  • Status changed from new to closed

comment:5 Changed 3 years ago by anonymous

  • Resolution worksforme deleted
  • Status changed from closed to reopened

comment:6 Changed 3 years ago by rblank

  • Resolution set to worksforme
  • Status changed from reopened to closed

Please don't do that.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from (none). Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.