Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6873 closed defect (fixed)

Text encoding badly handled

Reported by: iblanco@… Owned by: abompard
Priority: normal Component: OdtExportPlugin
Severity: normal Keywords: UTF-8 encoding
Cc: Trac Release: 0.11


When exporting content written with acents and other spanish characters ( áéíóú ñÑ ) the encoding is not correctly handled and the final document has badly encoded characters.

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by abompard

  • Status changed from new to assigned

Actually, I'm french and I do use accents in my texts, so some of them at least must work. Do you have an example text which causes the bug ?

Do you have a "default_charset" line in your trac.ini ? Which value is it set to ?


comment:2 Changed 4 years ago by iblanco@…

  • Resolution set to invalid
  • Status changed from assigned to closed

You are right. The "default_charset" was "ISO-8859-15", I changed it to "utf-8" and it works great now.

I didn't even think about it because the content is shown in the browser as "utf-8" so I don't know for what else is the "ISO-8859-15" charset applied.


comment:3 Changed 4 years ago by abompard

  • Resolution invalid deleted
  • Status changed from closed to reopened

Well, actually I fetch this setting in the trac.ini and use it to convert the content. Maybe I shouldn't do that, the page describing unicode support in Trac is not very clear to me.

Now that I'm looking more into it, I think should not do that. I'll remove this conversion. Thanks for reporting, it may well be a very valid bug !

comment:4 Changed 4 years ago by abompard

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

Done in r7794.

comment:5 Changed 4 years ago by anonymous

  • Keywords UTF-8 added; utf8 removed

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from abompard. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.