.net micro (µ) greek letter uppercase issue

后端 未结 2 1488
时光说笑
时光说笑 2021-01-23 10:50

I have the following code:

 string firstMicro = \"aa \\u00b5 bb\";
 string secondMicro = \"aa \\u03bc bb\";

 Assert.IsFalse(firstMicro == secondMicro);

 string         


        
2条回答
  •  粉色の甜心
    2021-01-23 11:22

    A microsecond is still a µSEC after upper-casing. Having it upcased to MSEC would fatally alter its meaning. Which is why there are two codepoints for the glyph.

提交回复
热议问题