runtime icon indicating copy to clipboard operation
runtime copied to clipboard

WriteSurrogateCharEntity reversing chars in surrogate pairs?

Open stephentoub opened this issue 7 years ago • 3 comments

As noted in https://github.com/dotnet/corefx/pull/34196#discussion_r243467807, it appears that some WriteSurrogateCharEntity overrides on XmlWriter are reversing the characters supplied. Some are doing high/low while some are doing low/high. It should be investigated.

stephentoub avatar Dec 21 '18 16:12 stephentoub

Best way to solve this issue is to change order of params method public override void WriteSurrogateCharEntity(char lowCh, char highCh) Otherwise this is public method. This yields, that's not a good idea change order of params in this method signature and better live all as is.

ichensky avatar Dec 26 '18 14:12 ichensky

Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

This process is part of the experimental issue cleanup initiative we are currently trialing in a limited number of areas. Please share any feedback you might have in the linked issue.

ghost avatar Nov 05 '21 19:11 ghost

This issue will now be closed since it had been marked no recent activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

ghost avatar Nov 20 '21 00:11 ghost