Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#1804 closed defect (fixed)

Fix output encoding

Reported by: Ilya Nazarov Owned by: athomas
Priority: normal Component: SlideShowPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Hello. There are problem with non-english documents. No output encoding provided in presentation output, and browser uses "latin", but should use "utf-8".

Attachments (1)

charset-fix.diff (255 bytes) - added by Ilya Nazarov 7 years ago.
Encoding fix

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Ilya Nazarov

Encoding fix

comment:1 Changed 7 years ago by Ilya Nazarov

Change last string in s5.py from:

        return req.hdf.render(template), 'text/html'

to:

        return req.hdf.render(template), 'text/html;charset=utf-8'

comment:2 Changed 7 years ago by athomas

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

(In [2565]) Added patch from Ilya Nazarov, thanks! Fixes #1804.

comment:3 Changed 4 years ago by rjollos

  • Component changed from S5Plugin to SlideShowPlugin

Add Comment

Modify Ticket

Action
as closed The owner will remain athomas.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.