public static string Canonicalize(string source, int startIndex)
{
char chr0 = source[startIndex++];
if (chr0 != '\\')
return String.Format(CultureInfo.InvariantCulture, "'{0}'", chr0);
else
{
int codePoint = EscapedChar(source, ref startIndex);
return QuoteMap(codePoint);
}
}