Luracast/Restler — pull request #91 by streaky (2012-11-28 21:27:39+00:00)
Title: Check if default charset is supported by client, if so - use it.

Currently Restler picks the charset that has the highest browser priority as the one to send a response as. This functionality is slightly annoying if you want to change it or think the default (utf-8) is most sensible. Pull request changes this behaviour as follows:

If the Restler default charset is explicitly supported by the client, *always* use that, else use the old functionality. Means if you change the default charset up front or if you're happy with the package default (utf-8) it is more likely to be used where possible.