C#中的Unicode类名称-为什么有些可以工作,而有些却不能呢? [英] Unicode class names in C# - why do some work, when others don't?

查看:55
本文介绍了C#中的Unicode类名称-为什么有些可以工作,而有些却不能呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道为什么会这样.我有来自同一组Ll的两个unicode字符,根据规范,这是允许的: http://msdn.microsoft.com/en-us/library/aa664670%28VS.71%29.aspx

I'm wondering why this is. I have two unicode characters from the same group Ll, which is allowed according to the specs: http://msdn.microsoft.com/en-us/library/aa664670%28VS.71%29.aspx

其中一个有效,另一个给出了编译错误,而我找不到有关此原因的任何文档:

One of them works, the other gives a compile error, and I can't find any documentation on why this is:

这有效:

U + 0467西里尔小写字母YUSѧ

U+0467 CYRILLIC SMALL LETTER LITTLE YUS ѧ

这不是:

带笔画的U + 04FF西里尔小写字母ӿ

U+04FF CYRILLIC SMALL LETTER HA WITH STROKE ӿ

您能帮我找到图案吗?

推荐答案

U + 0467来自Unicode 1.1,而U + 04FF来自Unicode 5.0.您引用的页面提到Unicode 3.0.因此,编译器的Unicode数据库还不够新.

U+0467 is from Unicode 1.1, whereas U+04FF is from Unicode 5.0. The page you refer to mentions Unicode 3.0. So the compiler's Unicode databases are just not new enough.

这篇关于C#中的Unicode类名称-为什么有些可以工作,而有些却不能呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆