asdf2014 commented on issue #6709: add charset UTF-8 to log api URL: https://github.com/apache/incubator-druid/pull/6709#issuecomment-444744861 Hi, @jihoonson. Right, this solution is the most simplified. It would be better to use `MediaType.TEXT_PLAIN +"; charset = UTF-8"` instead of `"text / plain"`, which can be declared as a TEXT_PLAIN_UTF8 constant. > can not fix it by adding a ContainerResponseFilter since there are no related APIs we can use to do Hi, @QiuMM . Thanks for your comment. I tried program a `MediaTypeFilter` demo, but it's not be tested.   > And for @Produces(MediaType.APPLICATION_JSON), I had impression that the default encoding for JSON is UTF-8 For this point, I cannot agree with you :sweat_smile:
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
