mcavage/node-restify — Issue #66: Add "; charset=utf-8" to outbound Content-Type
Author: jed
Created: 2012-02-01 02:54:56+00:00
State: open

Not sure where this should be handled, but the Content-Type for a response needs to end in "; charset=utf-8" to avoid mojibake in some languages (for me, Japanese).

What do you think is the best way to support this?

Here's my idea: add a .charSet getter/setter, and then concatenate when rendering the Content-Type header to avoid having the contentType getter return the charset. Let me know what you think.