Edgewall Software
Modify

Opened 20 years ago

Closed 18 years ago

#1466 closed defect (fixed)

Missed charset detection in mimeviewer enscript.py

Reported by: vyt@… Owned by: Christian Boos
Priority: normal Milestone: 0.10
Component: version control/browser Version: devel
Severity: normal Keywords: unicode utf-8 enscript
Cc: vyt@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I use trac trunk from 22 april 2005.

Please, add charset detection for file content and pass it with enscript parameter "—encoding=".

PS I think that charset detection should be common code for all trac components.

Attachments (0)

Change History (7)

comment:1 by Christopher Lenz, 19 years ago

Milestone: 0.9.1

comment:2 by Christopher Lenz, 19 years ago

Milestone: 0.9.10.9.2

comment:3 by Christopher Lenz, 19 years ago

Milestone: 0.9.30.9.4

comment:4 by Christopher Lenz, 19 years ago

Milestone: 0.9.40.10

Bah, enscript doesn't even support UTF-8:

http://www.tldp.org/HOWTO/Unicode-HOWTO-5.html

So we'd have to transcode to Latin1 first… postponing this.

comment:5 by Christian Boos, 19 years ago

Keywords: unicode utf-8 enscript added
Owner: changed from Jonas Borgström to Christian Boos

I'll try to perform some tests to see how enscript behaves with r3092

comment:6 by Christian Boos, 18 years ago

This makes me think that the charset information about the source, when available, should be conveyed to the converter.

comment:7 by Jonas Borgström, 18 years ago

Resolution: fixed
Status: newclosed

cmlenz, I think the part about enscript not supporting utf-8 only applies when generating postscript output…

As far as I can tell enscript-previews works just fine with utf-8 now, so I'm closing this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.