[gs-bugs] [Bug 692270] New: Improve ghostscripts stdin/stdout handling w.r.t unicode

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jun 9 17:01:04 UTC 2011


           Summary: Improve ghostscripts stdin/stdout handling w.r.t
           Product: Ghostscript
           Version: master
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: General
        AssignedTo: support at artifex.com
        ReportedBy: robin.watts at artifex.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0

gswin32c.exe now assumes that all input from stdin has been UTF8 encoded, and
similarly writes all output UTF8 encoded. Characters that come in with top bits
set will therefore confuse things.

Ideally we should process stdin so that we cope with unicode input, encoding as
we go, and stdout so we convert utf8 back to unicode. In the case of file
redirection, we want the files to come in exactly as they are though, so the
unicode->utf8 munging should only effect things when the input is a terminal.

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list