Skip to main content
7 events
when toggle format what by license comment
Oct 15, 2020 at 17:17 comment added Merry Zhong Although it remains as a mystery that the rss feeds are rendered as utf-16 in PROD while working as desired utf-8 in DEV/QA/Preview, setting the encoding explicitly appears resolving the issue. Thank you all for the help!
Oct 12, 2020 at 5:55 comment added Rick Pannekoek Try explicitly setting the encoding on the XmlWriter: docs.microsoft.com/en-us/dotnet/api/…
Oct 9, 2020 at 12:32 comment added ahmad shnaiwer Thank you @RickPannekoek, actually I couldn't add a comment to the original question (must have 50 reputations..). I have updated the question with my stuff (not yet approved). We really tried hard to solve this, as Merry said all environments are working fine. Only the PROD is (weirdly) rendered as utf-16, using same code and almost same everything.
Oct 9, 2020 at 10:27 comment added Rick Pannekoek BTW: this makes clear that the RSS generation is indeed a custom implementation, making this a general .NET question (as Velmurugan also commented).
Oct 9, 2020 at 10:25 comment added Rick Pannekoek This is not an answer.Please update the question with this (useful) additional info.
Oct 8, 2020 at 16:50 review First posts
Oct 22, 2020 at 16:50
Oct 8, 2020 at 16:43 history answered ahmad shnaiwer CC BY-SA 4.0