Project

General

Profile

Actions

Bug #2311

closed

CGI unicode output produces error

Added by gross about 13 years ago. Updated almost 13 years ago.

Status:
Invalid
Priority:
Normal

Description

Error is produced on first non-latin character from CGI-script stdout, so I have such message:

This page contains the following errors:
error on line 56 at column 60: Extra content at the end of the document
Below is a rendering of the page up to the first error.

Response with headers is in attached file. To view it in a brouser delete http headers from its begining.

If CGI-script is invoked by apache result is expected page with utf8 chars.


Files

err.html (3.57 KB) err.html gross, 2011-05-06 18:57
Actions #1

Updated by stbuehler about 13 years ago

  • Status changed from New to Invalid
  • Assignee deleted (stbuehler)
  • Priority changed from High to Normal
  • there is no reason for "high" priority
  • fcgi-cgi doesn't care about the data, it just forwards it as binary byte stream. it doesn't and shouldn't fix any utf8 encoding bugs in your app.
  • i don't see anything wrong in the uploaded file, apart from the fact that the end is missing.
Actions #2

Updated by gross almost 13 years ago

As I found, it was nginx problem.

Actions

Also available in: Atom