Edgewall Software

Ticket #7160 (new defect)

Opened 9 months ago

Last modified 3 months ago

Problems with character encoding

Reported by: Martin <martin@…> Owned by: cboos
Priority: normal Milestone: not applicable
Component: plugin/mercurial Version: 0.11.1
Severity: minor Keywords: unicode
Cc:

Description

I have a mercurial repo and I'm using trac to manage the project.

The problem is that, as spanish is my first language, we write alot of acute vocals, and other chars that are not in the ASCII charset. So we use UTF-8 (all the files are in UTF-8 format).

The thing is that trac works great, but when trying to browse the repo, even though the brower works great, it doesn't print the exxtended characters as it should. For examplee, my name taken from the author information from hg would look like: Mart?n Marqu?s.

The contents of the repo also have the same problem. For example:

Creacón -> Creación catálogo -> catálogo

Looking at the hg repo, everything is OK, but trac doesn't render it correctly.

If you need further information, please ask.

Attachments

Change History

Changed 3 months ago by rblank

  • milestone set to not applicable

Could you please test with 0.11.1 and the latest mercurial-plugin?

Changed 3 months ago by cboos

  • keywords unicode added

Also, how did you configure your [trac] default_charset TracIni entry?

In any case, as Remy said, you're strongly advised to upgrade to 0.11 and the corresponding Mercurial plugin, because the 0.10.x version (and Trac 0.10.x as well) is in "low maintenance mode".

Changed 3 months ago by cboos

See also #3809.

Changed 3 months ago by anonymous

  • version changed from 0.10.4 to 0.11.1

Upgraded quite a few months ago (on Debian testing):

trac                                 0.11.1-2 
trac-mercurial                       0.11.0.5dev~svnr7354-2 

Same problem visualizing the acute vocals.

Also changed default_charset to UTF-8 in trac.ini, with no luck (restarted apache just in case).

Add/Change #7160 (Problems with character encoding)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
The owner will change from cboos to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.