Hey Peter Yes, already use this version, works like a charm :)
I think it would make sense to change this behaviour on all <cfheader name="content-type"... in MachII. Cheers, delijah On 25 Mrz., 00:33, "Peter J. Farrell" <[email protected]> wrote: > delijah said the following on 03/24/2011 03:55 AM:> Unfortunately you cannot > set a default charset in IIS (AFAIK). > > The only possibilty to set a charset in IIS, is by file extension. > > Since i do not use a file extension in the URL for my REST-Calls, this > > doesn't work -> i need to add the charset via coldfusion. > > Strange, Apache and Tomcat both set the charset value if missing for > MIME application/json to UTF-8 if the charset is not in the header. I'd > assume there is an equivalent in IIS (a quick Google shows some results). > > Anyways, you're feedback regarding this issue helped. I forgot to > mention yesterday that I fixed the issue in the trunk. We now take the > value from the defaultCharset and put it in the Content-Type header value: > > application/json;charset=xxx > > .pjf -- To post to this group, send email to [email protected] For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
