Search code examples
servicestack-bsd

How to change response encoding?


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.


Solution

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