Posts
All the articles I've posted.
svn for git-addicted or git-svn gotchas and WTFs
Setting up git-svn with a non-standard Subversion repository layout, including branch and tag mappings.
Read more…My NUnit pull request accepted
Announcement that a NUnit pull request fixing invalid XML character handling was merged and referenced in NUnit source code.
Read more…PowerShell Start-Job WTF
Troubleshoots Start-Job scope issues with PSScriptRoot and shows how to invoke a script path asynchronously using ScriptBlock.Create.
Read more…PowerShell Start-Process WTF
Documents a known PowerShell bug where Start-Process -PassThru does not expose ExitCode, with a workaround using Process.Start.
Read more…PowerShell .NET property access swallows exceptions
Demonstrates that PowerShell silently returns null when a .NET property getter throws an exception, and how to avoid it.
Read more…Escaping Invalid XML Unicode characters
Step-by-step derivation of a C# regex to strip or escape characters invalid in XML, handling UTF-16 surrogate pairs correctly.
Read more…My old NUnit _pull request_
Retrospective on a NUnit v2 bug fix submitted before pull requests existed, credited only via a manual description.
Read more…NUnit pull request
Announcement of a pull request submitted to the NUnit framework to fix invalid XML character handling in test output.
Read more…Stripping invalid characters from UTF-16 strings
C# regex approach to remove unpaired UTF-16 surrogate characters from strings to ensure valid Unicode output.
Read more…Unicode literals in PowerShell
How to express Unicode character literals in PowerShell using char casts and ConvertFromUtf32, including surrogate pair handling.
Read more…