Modify

Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#1804 closed defect (fixed)

Fix output encoding

Reported by: Ilya Nazarov Owned by: Alec Thomas
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 10 years ago.
Encoding fix

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Ilya Nazarov

Attachment: charset-fix.diff added

Encoding fix

comment:1 Changed 10 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 10 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

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

comment:3 Changed 7 years ago by Ryan J Ollos

Component: S5PluginSlideShowPlugin

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.