How to change response encoding?

137 Views Asked by At

By default my ServiceStack service returns json responses in UTF-8 encoding. How to change it to ASCII? I think this shouldn't be difficult, but I have no idea how to do it.

1

There are 1 best solutions below

0
mythz On BEST ANSWER

ServiceStack Serializers are hard-coded to use UTF-8 and can't be changed.