Modify

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#6873 closed defect (fixed)

Text encoding badly handled

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

Description

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 15 years ago by Aurélien Bompard

Status: newassigned

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 ?

Thanks

comment:2 Changed 15 years ago by iblanco@…

Resolution: invalid
Status: assignedclosed

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.

Thanks.

comment:3 Changed 15 years ago by Aurélien Bompard

Resolution: invalid
Status: closedreopened

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 15 years ago by Aurélien Bompard

Resolution: fixed
Status: reopenedclosed

Done in r7794.

comment:5 Changed 14 years ago by anonymous

Keywords: UTF-8 added; utf8 removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Aurélien Bompard.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.